Algebra Level 2

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

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

×