Solve quadratic equations by completing the square (#287)