First of all, thank you so much for the help. I'm still struggling even though I think I set up the equation correctly, I think its just figuring out how to work everything out algebraically.
f(x,y,z)' = Lg(x,y,z)' + Mh(x,y,z)'
2(x-a)=L2(x-a) + M(2x -2)
2(y-b)=L2(x-b) + M(2y-2)...