How do you solve the equation 1/2x^2+3=12?