After you reach the point where you have . Differentiate both sides. To do so, use

the chain rule on the the left hand side: . That done, use the chain and product rules on the

right hand side; I think you know how (it's the product of two functions one of which is a composite, just

like the problem from the other thread). Having done that, multiply both sides by , then you are done!