# How do you factor by grouping 3a^3+3ab^2+2a^2b+2b^3?

$f \left(a , b\right) = {a}^{2} \left(3 a + 2 b\right) + {b}^{2} \left(3 a + 2 b\right) = \left(3 a + 2 b\right) \left({a}^{2} + {b}^{2}\right)$