$$(a - b)^3$$
How to solve the difference of two square numbers
Suppose if we get a question to find the difference of two cube numbers. There is a particular formula to solve this type of question.
$$a^3 - b^3 - 3ab(a-b)$$
Let us work it out with an example:-
let a=3 and b=2
$$a^3 - b^3 - 3ab(a-b)$$
$$3^3 - 2^3 - 3*3*2*(3-2)$$
27-8-18*1
1