i assume you mean 5cos^2((pit)) in which case;
i would use the chain rule,
subs u=cos(pit), so you have (i presume it's y), y=5u^2
dy/du = 10u and du/dt=-pisin(pit)
Multiply them together,
dy/dx = 10u -pisin(pit)
replace u=cos(pit)
dy/dx=-10picos(pit)sin(pit)
And you could then use the relation that sin(2x)=2sin(x)cos(x)
so
dy/dx=-5pisin(2pit)
You could alternatively use the relation that 2cos(2x)=cos^2(x)+1 and rearrange for cos^2(x) [x being pit] .. which is a better way if you know how to do it .. hope this helps :)