How to solve the quadratic equation in standard form