I tried to solve the equation by doing this-
$$2\sin(\frac{\theta+5\theta}{2})\cos(\frac{\theta-5\theta}{2})=\sin(3\theta)\\ 2\sin(3\theta)\cos(2\theta) = \sin(3θ)\\ \cos(2θ) = \frac{1}{2}\\ 1-2\sin^2(θ) = \frac{1}{2}\\ \sin^2(θ) = (\frac{1}{2})^2\\ ∴ θ = nπ ± α\\ Answer = \frac{π}{6},\frac{5π}{6} $$
But in the solution there are 6 solutions and in step 3 instead of dividing $\sin(3θ)$ by $\sin(3θ)$ they have taken it as common and made "$\sin(3θ)(2\cos(2θ)-1)$"