# How do you foil (x+3)^2 ?

May 24, 2018

${x}^{2} + 6 x + 9$

#### Explanation:

First, let's rewrite the expression as

$\left(x + 3\right) \left(x + 3\right)$

Rewriting it in this form is what allows us to do FOIL, which stands for Firsts, Outsides, Insides, Lasts. This is the order we'll multiply in:

• Multiply the first terms: $x \cdot x = {x}^{2}$
• Multiply the outside terms: $x \cdot 3 = 3 x$
• Multiply the inside terms: $3 \cdot x = 3 x$
• Multiply the last terms: $3 \cdot 3 = 9$

Now, we have the following:

${x}^{2} + 3 x + 3 x + 9$

Which can obviously be simplified to

${x}^{2} + 6 x + 9$

Hope this helps!