Calculus Examples

Eliminate the Parameter x=cos(thetay)=cos(theta)^2+8cos(theta)
I am unable to solve this problem.