The difficulty level on this one is easy, not medium, because as geek and rahmu pointed out, it is a straight forward application to formulas. However, it being a grade 12 level problem (exponential, logarithm, inverse trigonometric functions are taught at that level), and you being a 9th grader, I can see why you regard it as medium level. PS: Kudos and respect for the plunge you took :)
Seeing that writing the solution would be extensive and I simply lack the effort to do it today, I can state my solution approach as follows:
Knowing that:
f'(u/v) = [u'v - v'u] / v^2 (where both u and v are functions of x, and the derivation is done corresponding to variable x)
(e^u)' = u' . e^u
ln'(u) = u'/u
(arccos(x))' = -1/sqrt(1-x^2)
(sqrt(u))' = u'/2.sqrt(u)
cot(x) = 1/tan(x)
And of course after defining the domain of the definition (I'm too lazy to find it out right now, but it has to be specified before proceeding with the solution)
The final solution will be:
Don't know if it can be reduced any further than that...
Also, a while ago I posted a
couple of math exercises for grade 12 students to solve. You can check them out if you want.