Algebra Level 2

\begin{aligned} a+ b & = & c + 6 \\ ab - ac & = & bc - 1 \\ \end{aligned}

Given the equations above, what is $a^2 + b^2 + c^2?$

×