We want to simplify the following expression
[tex](4m^2-5m-5)-(2m^2+m-7)[/tex]Using the distributive property, first we're going to multiply every term of the second parenthesis by (- 1).
[tex](4m^2-5m-5)-(2m^2+m-7)=4m^2-5m-5-2m^2-m+7[/tex]Then, to simplify this expression we just have to operate on the corresponding coefficients
[tex]\begin{gathered} 4m^2-5m-5-2m^2-m+7 \\ =4m^2-2m^2-5m-m-5+7 \\ =(4+(-2))m^2+((-5)+(-1))m+((-5)+7) \\ =(4-2)m^2+(-5-1)m+(-5+7) \\ =2m^2-6m+2 \end{gathered}[/tex]And this is the simplified form.
[tex](4m^2-5m-5)-(2m^2+m-7)=2m^2-6m+2[/tex]