Let $\mathrm{S} = \left\{x : \cos^{-1}x = \pi + \sin^{-1}x + \sin^{-1}(2x + 1)\right\}$. Then $\sum_{x \in \mathrm{S}}(2x - 1)^2$ is equal to ______ .
Numerical-value question: the answer is a number.
Show answer
The answer is 5.
Key from source paper