This problem I cannot seem to solve,I have the answer but i want to know how to get to it, i do not know if i used the table or do i integrate it by parts? Thank You!!

The problem:

Integrate[Sin[3 x] Cos[5 x], x]

and this is the answer:

8 (Cos[x]) ^(2)- Cos[8 x]

-------------------------

16