Let the function \( f(x) \) be defined as:
\[
f(x) =
\begin{cases}
A + x, & \text{if } x < 2 \\
1 + x^2, & \text{if } x \geq 2
\end{cases}
\]
If the function \( f(x) \) is continuous at \( x = 2 \), the value of \( A \) should be _______.
Show Hint
For continuity at a point, the left-hand limit and the right-hand limit must be equal at that point.