Answer:
Step-by-step explanation:
m^2-40+6m
=m^2+6m-40
=m^2-(10-4)m-40
=m^2-10m+4m-40
=m(m-10)+4(m-10)
=(m+4)(m-10)