For question 4 you are on the right track in saying
-λa/x^2 = -λb/y^2 = -λc/z^2
in fact, in this case the function λ disappears leaving you with only
x^2/a = y^2/b = z^2/c
now you can solve for y,z in terms of x, then plug it into your constraint
you get something like a/x + sqrt(ab)/x + sqrt(ac)/x = 1
then solve for x, and do the same for y,z
For problem 5
Let g(x,y,z) = x+y+2z=0 and h(x,y,z) = x^2/25 + y^2/25 + z^2/9 =1
Apply Lagrange Multipliers.
∇f = λ∇g + μ∇h
(2x,2y,2z> = λ<1,1,2> + μ<2x/25, 2y/25, 2z/9>
you have the following set of equations
2x = λ + μ2x/25
2y = λ + μ2y/25
2z = 2λ + μ2z/9
x+y+2z=0
x^2/25 + y^2/25 + z^2/9 =1
then you solve for x,y and z
I dont have time right now, but i might write out the steps later