\(P(1)\) is the statement “\(1 = \frac{1(1 + 1)}{2}\text{.}\)” This is true since the right side is
\begin{equation*}
\frac{1(1 + 1)}{2} = \frac{2}{2} = 1,
\end{equation*}
which is equal to the left side.
Similarly, \(P(2)\) is the statement “\(1 + 2 = \frac{2(2 + 1)}{2}\text{.}\)” This is true since the left side is
\begin{equation*}
1 + 2 = 3,
\end{equation*}
and the right side is
\begin{equation*}
\frac{2(2 + 1)}{2} = \frac{6}{2} = 3.
\end{equation*}