Question 924006
<pre>
a<sup>2</sup>(a+1)-2a(a+1)+a+1

Put parentheses around the last two terms

a<sup>2</sup>(a+1)-2a(a+1)+(a+1)

Put a 1 in front of the last parentheses:

a<sup>2</sup>(a+1)-2a(a+1)+1(a+1)

Now you see that each term contains a <font color="red"><b>(a+1)</b></font>

a<sup>2</sup><font color="red"><b>(a+1)</b></font>-2a<font color="red"><b>(a+1)</b></font>+1<font color="red"><b>(a+1)</b></font>

And you can factor out the red <font color="red"><b>(a+1)</b></font>.

<font color="red"><b>(a+1)</b></font>(a<sup>2</sup>-2a+1)

Next, the black part factors:

<font color="red"><b>(a+1)</b></font>(a-1)(a-1)

or

<font color="red"><b>(a+1)</b></font>(a-1)<sup>2</sup>

or dropping the red coloring:

(a+1)(a-1)<sup>2</sup>

becomes



Edwin</pre>