Question 118530
{{{x^2+3y+3x+xy}}} Start with the given expression


{{{x^2+3x+xy+3y}}} Rearrange the terms


{{{(x^2+3x)+(xy+3y)}}} Group like terms



{{{x(x+3)+y(x+3)}}} Factor out the GCF {{{x}}} out of the first group. Factor out the GCF {{{y}}} out of the second group



{{{(x+y)(x+3)}}} Since we have the common term {{{x+3}}}, we can combine like terms


So {{{x^2+3y+3x+xy}}} factors to {{{(x+y)(x+3)}}}