(a+b)²
=(a+b)²(a+b)
=(a²+2ab+b²)(a+b)
=a³+a²b+2a²b+2ab²+ab²+b³
=a³+3a²b+3ab²+b³
同理
(a-b)³=a³-3a²b+3ab²-b³