solving quadratic equations by using the quadratic formula