Multiply 40 by 40 and find two numbers that add up to 100, and multiply to 1600.
40 and 40? No. That adds to 80.
20 and 80? Yes. That adds to 100.
so you do [tex]40n^2+80n+20n+40[/tex]
Simplify and continue doing so.
[tex]=40n(n+2)+20(n+2)[/tex]
Now this is when you put together the numbers so that distributive property works out in your favour.
[tex]=(40n+20)(n+2)[/tex]
Simplify. [tex]=20(2n+1)(n+2)[/tex] There you go.