# How do you factor 2x^2+12xy+18y^2?

the answer is $2 {\left(x + 3 y\right)}^{2}$
first you find the GCF(greatest common factor) and that will be $2$ so you'll get$2 \left({x}^{2} + 6 x y + 9 {y}^{2}\right)$ and the rest inside is from what you get when you multiply $2$ and the rest. now you have to figure out what two numbers that multiply to give you $9$ and add to $6$ so $3 , 3$ and now you'll get $2 \left(x + 3 {y}^{2}\right)$ i shortened it but you don't have to if you have${x}^{2}$, you don't have to do the long way, you can just figure it out from there. but this one, there's two $3 s$ so you can just put it like this$2 \left(x + 3 {y}^{2}\right)$