I have no idea about general solutions since i have never seen them, What are all the general solutions that i must memorize to answer all questions?

and how do i apply these general solutions in this question:

Find all values of x for which (cosx)^2=sinxcosx

thanks