(i) x3+y3 [using identity a3+b3=(a+b)(a2−ab+b2)]=(x+y)(x2−xy+y2)R.H.S.=x(x2−xy+y2)+y(x2−xy+y2)=x3−x2y+xy2+yx2−xy2+y3=x3+y3=L.H.S
(ii) x3−y3[using identity a3−b3=(a−b)(a2+ab+b2)]=(x−y)(x2+xy+y2)R.H.S.=x(x2+xy+y2)−y(x2+xy+y2)=x3+x2y+xy2−yx2−xy2−y3=x3−y3=L.H.S.