\[5a^{2} - 30ab + 45b^{2} =\]
\[= 5 \cdot \left( a^{2} - 6ab + 9b^{2} \right) =\]
\[= 5 \cdot (a - 3b)(a + 3b)\]