How do you solve the equation #x^2-10x=-24# by using the quadratic formula?