\[(a + b - 1)(b + a) =\]
\[= ab + a^{2} + b^{2} + ab - b - a =\]
\[= a^{2} + b^{2} + 2ab - a - b.\ \]