​​​​​​The limit $$p = \lim_{x\rightarrow \pi} \left ( \frac{x^{2} + \alpha x + 2 \pi^{2}}{x - \pi + 2 \sin x } \right )$$ has a finite value for a real $\alpha$. The value of $\alpha$ and the corresponding limit $p$ are

1.  $\alpha = -3 \pi$ ,and  $p= \pi$
2.  $\alpha = -2 \pi$ ,and  $p= 2\pi$
3.  $\alpha = \pi$ ,and  $p= \pi$
4.  $\alpha = 2 \pi$ ,and  $p=3 \pi$