(X+2) (x+5)
Multiply each term in the first parentheses by each term in the second parentheses (FOIL)
X•x+5x+2x+2x5
Calculate the product
X^2+5x+2x+2x5
Multiple the number
X^2+5x+2x+10
Collect like terms
X^2+7x+10
And the solution is
X^2+7x+10
I hope and my answer helps you