Are you trying to find ?
2nd method for the first one:
This method is known as logarithmic differentiation is MUCH easier to use in if you have complicated product on the right hand side.
P.S. this problem should have been posted in the Calculus section as it involves derivatives.