You can put this solution on YOUR website! x^2 + 5x + 2 is your equation.
that doesn't factor, so use the quadratic formula.
set the equation equal to 0 to get:
x^2 + 5x + 2 = 0
a = 1
b = 5
c = 2
x = (-b +/- sqrt(b^2-4ac))/(2a) becomes:
x = (-5 +/- sqrt(5^2-4*1*2))/(2*1) which becomes:
x = (-5 +/- sqrt(25-8))/(2*1) which becomes:
x = (-5 +/- sqrt(17))/(2*1) which becomes:
x = (-5 +/- 4.123105626)/2
x is either equal to -.438447187 or -4.561552813
you can confirm by substituting these values for x in the equation x^2 + 5x + 2 = 0 to see if those equations hold true.