Let \( y = y(x) \) be the solution of the differential equation \( \dfrac{dy}{dx} = 2(y + 2 \sin x - 5)x - 2 \cos x \) such that \( y(0) = 7 \). Then \( y(\pi) \) is equal to:
\( 2e^{\pi^{2}} + 5 \)
\( 7e^{\pi^{2}} + 5 \)
\( e^{\pi^{2}} + 5 \)
\( 3e^{\pi^{2}} + 5 \)