Explanation:
The formula isnt correctly written, it should state:
[tex] a^3+b^3 = (a+b)(a^2-ab+b^2) [/tex]
You have to start from [tex] (a+b)(a^2-ab+b^2) [/tex] and end in a³+b³. On your first step, you need to use the distributive property.
[tex](a+b)(a^2-ab+b^2) = a*(a^2-ab+b^2) + b*(a^2-ab+b^2) [/tex]
This is equal to
[tex]a*a^2-a*(ab) + a*b^2 + b*a^2-b*(ab) + b*b^2 = a^3 - a^2b + ab^2 +ba^2 -b^2a +b^3 [/tex]
Note that the second term, -a²b, is cancelled by the fourth term, ba², and the third term, ab², is cancelled by the fifht term, -b²a. Therefore, the final result is a³+b³, as we wanted to.