Formula use: \left(a-b\right)^3=a^3-3a^2b+3ab^2-b^3
Explanation
Here, given expression is : a-3b
Now, Find the cubes of :
\left(a-3b\right)^3
\rightarrow\left(a\right)^3-3.\left(a\right)^2.3b+3.a.\left(3b\right)^2-\left(3b\right)^3
\therefore a^3-9a^2b+27ab^2-27b^3
Ans: a^3-9a^2b+27ab^2-27b^3.