Note that the polynomial $ 9x^2+12xy+4y^2 $ is a perfect square trinomial, so we will use the following formula.
$$ A^2 + 2AB + B^2 = (A + B)^2 $$In this example we have $ \color{blue}{ A = 3x } $ and $ \color{red}{ B = 2y } $ so,
$$ 9x^2+12xy+4y^2 = ( \color{blue}{ 3x } + \color{red}{ 2y } )^2 $$