I need help with this question on my assignment please and thank you

Given:
The expression is,
[tex]45x^2y^2+18x^3[/tex]Simplify the expression,
[tex]\begin{gathered} 45x^2y^2+18x^3=9\times5x^2y^2+9\times2x^3 \\ =(9\times5\times x^2\times y^2)+(9\times2\times x^2\times x) \\ \text{Take 9x}^2\text{ common from both the brackets,} \\ =9\times x^2\lbrack5\times y^2\rbrack+9\times x^2\lbrack2x\rbrack \\ =9x^2(5y^2+2x) \end{gathered}[/tex]Answer:
[tex]9x^2(5y^2+2x)[/tex]