after using product rule for the first one, you should get:

Further simplification can be done.

What problem did you have in the second one? Its a straight application of Quotient Rule plus chain rule... SHow your work if you have any problem..