1)
(a+2)(a²-a-3)
a(a²-a-3)+2(a²-a-3)
a³-a²-3a+2a²-2a-6
a³+a²-5a-6
2)(a-2)*(a²-a-3)
a(a²-a-3)-2(a²-a-3)
a³-a²-3a-2a²+2a+6
a³-3a²-a+6
1)
(a+2)(a²-a-3)
a(a²-a-3)+2(a²-a-3)
a³-a²-3a+2a²-2a-6
a³+a²-5a-6
2)(a-2)*(a²-a-3)
a(a²-a-3)-2(a²-a-3)
a³-a²-3a-2a²+2a+6
a³-3a²-a+6