make"x" the subject in the equation; ax^2+bx+c=0

Just apply the quadratic formula

x = (-b ± √(b^2-4ac) )/(2a)