I started with the equation:

y=yinitial + (vinitialsintheta)t -1/2gt^2

I plugged in t=x/(vinitialcostheta)

to get: y=yinitial + x (tantheta) - [(gx^2)/(2(vinitial^2)(cos^2theta))]

Using derivatives, how do I get from this equation:

y=yinitial + x (tantheta) - [(gx^2)/(2(vinitial^2)(cos^2theta))]

to this equation:

(dy)/(dtheta)=

x(sec^2theta)-[(gx^2(tantheta)(sec^2theta))/(vinitial^2)]

I am completely and totally and utterly confused, bewildered, perplexed, and a list of other things.

Plese help!!!!!