First, move the 10 to the other side. Because the 10 is subtracted, we add.
x2 + 5x = 10
Now, take half of the second term's coefficient, square it, and add it to both sides.
(5/2)2 = 25/4
x2 + 5x + 25/4 = 10 + 25/4
Now, the left side can be factored into a binomial, squared, using that 5/2. I'm going to ignore the right side for the moment.
x2 + 5x + 25/4 = (x + 5/2)2
Now, 10 + 25/4 = 40/4 + 25/4 = 65/4, right? Let's put the two sides back together.
(x + 5/2)2 = 65/4
x + 5/2 = √65/4
x = √65/4 - 5/2
x = 1.53