Answer= x²+7x+10
When we want to expand expressions such as this, the FOIL method helps us remember what exactly to do. FOIL stands for
F:First
O:Outer
I:Inner
L:Last
So, given the expression (x+5)(x+2), lets multiply the first two terms.
xx=x²
now the outer two terms
x2=2x
now the inner terms
5x=5x
and the last terms...
52=10
When we combine these expressions we get:
x²+7x+10
I think this is what you meant to be answered in your question, if I have been mistaken, just comment and I'll edit my answer....