4 is a perfect square. We can pull 2 out from under the square root symbol.
The prime factor of 12 is 2.2.3. We can pull another 2 outside of the square root symbol. 2 x2 is 4 that will be outside of the square root symbol and the x, y and 3 will be left under the symbol.