Factor the following polynomial.
First factor out the common factor 3, using a bracket, so that
parentheses may be placed within:



I'll do some coloring for clarity:



Factor
out of the two red terms and
factor
out of the two green terms



Now I will recolor the expressions



Factor out the common red factor, and put the two green factors
as a sum in parentheses:



The brackets are no longer needed and neither is the special coloring,
so the final answer is:
Edwin