Whenever the term $x$ is multiplied by a symmetric trigonometric expression over the interval $[0, \pi]$, King's property always simplifies the integral by converting $\int_0^\pi x f(x) \, dx$ to $\frac{\pi}{2} \int_0^\pi f(x) \, dx$.
This is a standard shortcut for competitive exams.