If the solution to a quadratic equation is 3, what is the equation?