# How do you factor y^2+6y+9 using the perfect squares formula?

• Since both the middle and constant terms are positive, it could be a perfect square of the factor $x + c$. The other option is if the middle term is negative but the constant is positive (then the factor is $x - c$).
Though your variable is $y$.
Therefore, this factors into $\textcolor{b l u e}{{\left(y + 3\right)}^{2}}$.