\frac{x}{a}=\cos{t}\Rightarrow{x=a\cos{t}}\Rightarrow{dx=-a\sin{t}dt}