so, using similar triangles, i got that (x+y)/12 = x/1.85. I can rearrange this into x= or y=, but then I don't see how i can find the derivative of it (ex. x = (1.85x+1.85y)/12 -> finding derivative will eliminate x and y). Any help will be greatly appreciated.

Thanks!