Answer:
Please see steps below
Step-by-step explanation:
In order to factor by grouping, we divide the four terms given into two groups, and extract on each group any common factor we can.
In our example, we can select the terms: [tex]w^2[/tex] and [tex]w[/tex] as one of our groups, and [tex]3w[/tex] and 3 in the other group. Then we re-organize the expression as:
[tex](w^2+w)+(3x+3)[/tex]
Now we extract from the first binomial group, the factor [tex]w[/tex] as a common factor of both terms, and from the second group we extract the factor "3" as common factor of those two terms:
[tex](w^2+w)+(3x+3)\\w(w+1)+3(w+1)[/tex]
We notice now that after the extraction, we are left with two exactly equal binomial factors [tex](w+1)[/tex] that appeared in the first group and in the second group. We proceed then to extract it as common factor for the two groups:
[tex]w(w+1)+3(w+1)\\(w+1)(w+3)[/tex]
this last product of two binomials ([tex](w+1)\,(w+3)[/tex] is the result of factoring the original expression.