how do you solve for factoring polynomials with leading coefficient >1

Answer: (x+5)*(x+2)
Step-by-step explanation:
1: Write as a sum
x^2+7x+10
2: Factor the expressions
x^2+5x+2x+10
3: Factor the expression
x(x+5)+2(x+5)
Answer: (x+5)(x+2)
Hope this helps!