Answer:
[tex](x+5)(x+2)[/tex]
Step-by-step explanation:
[tex]\textbf{Given that,}\\\\~~~~x^2 +7x +10\\\\=x^2 +5x +2x +10~~~~~~~~~~~~~~~~~~~~;\textbf{Rewrite}~ 7x ~ \textbf{as}~ 5x +2x\\\\=x(x+5) +2(x+5)\\\\=(x+5)(x+2)~~~~~~~~~~~~~~~~~~~~~~~~~;\textbf{Take out the common factor}~ x+5[/tex]