Solve for n (n-7)^2=2n