2 answers
(click or scroll down)
40a^3-135b^3c^3
= 5(8a^3 - 27b^3c^3)
= 5((2a)^3 - (3bc)^3)
Now just apply your difference-of cubes-formula
Post your work if you get stuck