move everybody to one side
minus 5x+2 both sides
x^2-5x-2=0
use quadratic formula where
if you have
ax^2+bx+c=0
x=[tex] \frac{-b+/- \sqrt{b^{2}-4ac} }{2a} [/tex]
1x^2-5x-2=0
a=1
b=-5
c=-2
x=[tex] \frac{-(-5)+/- \sqrt{(-5)^{2}-4(1)(-2)} }{2(1)} [/tex]
x=[tex] \frac{5+/- \sqrt{25+8} }{2} [/tex]
x=[tex] \frac{5+/- \sqrt{33} }{2} [/tex]
aprox
x=5.372281323 or -0.3722813233