How do you solve the quadratic equation by completing the square: x2+24=10x?