Respuesta :

foil: x^2+2x+2x+4
simplify: x^2+4x+4
distribute or FOIL

distribute
(x+2)(x+2)=
(x+2)(x)+(x+2)(2)=
(x^2+2x)+(2x+4)=
x^2+4x+4

foil, first terms, outer terms, innter terms, last terms (multipl ythem)
First
x times x=x^2
Outer
x times 2=2x
Inner
2 times x=2x
Last
2 times 2=4
add those
x^2+2x+2x+4=x^2+4x+2