I have to solve $$\int \sin^3x\cos^3x\,dx$$
I tried substitutions and got the answer $$\frac{-1}{64}(3\cos(2x)-\frac{1}{3}\cos(6x))+C$$
The solution given in book is $$\frac{1}{6}\cos^6x-\frac{1}{4}\cos^4x+C$$
I don't know whether both are equal or not
So I have some questions:
Are both answers same? If no , then which one is correct?
Do different methods of integration results differently? Or are they same , it is just matter of rearrangement?
I am having this problem in many question because I use different method from that mentioned in book, i.e., in substitutions, I reach the result but substituting different thing from that mentioned in solution which leads to different answer. Do different methods of integration produce different results?

