\end{figure}
Figure 1 shows the curve with equation \(y = 5 + 2 x - x ^ { 2 }\) and the line with equation \(y = 2\). The curve and the line intersect at the points \(A\) and \(B\).
Find the \(x\)-coordinates of \(A\) and \(B\).
(3)
The shaded region \(R\) is bounded by the curve and the line.