(Cos2theta)/(sin theta -cos theta)
maybe this will help
$$cos 2\theta=cos^2\theta-sin^2\theta$$
and that is the difference of 2 squares.