We re-write the equation as
sin3xcos3x−sin5xcos5x=0
or sin3xcos5x−sin5xcos3xcos3xcos5x=0
or sin2xcos3xcos5x=0.
Now solving the equation sin2x=0, we get x=12nπ,n∈I. But we must discard extraneous solutions, that is, those for which the denominator cos3xcos5x vanishes, which clearly happens when n is odd. Thus the solution of the given equation will be given by x=12nπ, where n is even, say n=2m, m∈I
Hence the required solution is x=mπ,m∈I
Quite obviously, it is a serious error to take the solution as x=12nπ,n∈I.