Solve for x a^2=b^2+c^2-2bx