The equation $$\int_{-\pi}^xt\sin(t)\,dt=1$$ is given. Calculating the integral and simplifying a bit, it reduces to the equation $$-x\cos(x)+\sin(x)+\pi-1=0$$ I've tried rewriting the trig functions using complex exponentials, but that got me nowhere. Solving it numerically isn't too challenging, the Newton-Raphson method can be used with $$a_0=\pi n+\frac{\pi}{2},\:n\in\mathbb{N}$$ which is always close enough to a root, such that it converges to a root (with the exception of $n=0$).
As far as solving it analytically goes, I'm pretty clueless at this point. Any help is appreciated.