Plz help me get the right answer

Given:
Subtract [tex]-7x^2+1[/tex] from [tex]-2x^2-4x[/tex].
To find:
The result after subtraction.
Solution:
Subtract [tex]-7x^2+1[/tex] from [tex]-2x^2-4x[/tex]. It canbe written as
[tex]-2x^2-4x-(-7x^2+1)[/tex]
Using distributive property, we get
[tex]=-2x^2-4x-(-7x^2)-(1)[/tex]
[tex]=-2x^2-4x+7x^2-1[/tex]
On combining like terms, we get
[tex]=(7x^2-2x^2)-4x-1[/tex]
[tex]=5x^2-4x-1[/tex]
Therefore, the required expression after subtraction is [tex]5x^2-4x-1[/tex].