Replace each sin^2 by the corresponding 1 - cos^2. After that completing the assignment is pure mechanical work.