[tex] \huge \boxed{\mathfrak{Question} \downarrow}[/tex]
[tex] \large \boxed{\mathfrak{Answer \: with \: Explanation} \downarrow}[/tex]
[tex]( x + 1 ) ^ { 2 } - 5 x ( x + 3 ) ( x - 3 )[/tex]
Use binomial theorem [tex]\left(a+b\right)^{2}=a^{2}+2ab+b^{2}[/tex] to expand [tex]\left(x+1\right)^{2}[/tex].
[tex]x^{2}+2x+1-5x\left(x+3\right)\left(x-3\right) [/tex]
Use the distributive property to multiply -5x by x+3.
[tex]x^{2}+2x+1 + (-5x^{2}-15x)(x-3)[/tex]
Use the distributive property to multiply [tex]-5x^{2}-15x[/tex] by x-3 and combine like terms.
[tex]x^{2}+2x+1-5x^{3}+45x [/tex]
Combine 2x and 45x to get 47x.
[tex] \boxed{\boxed{\bf\:x^{2}+47x+1-5x^{3} }}[/tex]
Follow the same steps till [tex]x^{2}+2x+1-5x^{3}+45x [/tex] and then use the algebraic identity ⇨ a + 2ab + b² = (a + b)²
[tex]\boxed{\boxed{\bf\:-5x^{3}\left(x+1\right)^{2}+45x}}[/tex]