Question 896527
Are you sure you've written the problem correctly?
There is no solution with rational numbers as written.
However, if it's x^2+7x+10, then it's simple factoring
(x+5)(x+2) = x^2+7x+10
X = -5,-2