prove the identity:

(cosx)(tanx + sinx cotx)=sinx+cos(squared)x

i need steps to show how i got the answer

generally, it is a good idea to change all trig ratios to sines and cosines, and start with the more complicated-looking side.
so....

LS =
cosx(sinx/cosx + sinx(cosx/sinx)
=
=
just expand and simplify and the RS pops out