Slove using identities (x+1)whole cube -(x-1) whole cube
(a+b)³−(a−b)³
=a³+3a²b+3ab²+b³−(a³−3a²b+3ab²−b³)
=a³+3a²b+3ab²+b³−a³+3a²b−3ab²+b³
=6a²b+2b³