Answer
$$27x^3-135x^2+225x-125$$
Work Step by Step
We do this problem like we did with the FOIL method. However, there now may be more than two terms per factor, so we cannot just multiply the first, outer, inner, and last terms together. Instead, we must be sure that all terms within both factors are multiplied by each other. Doing this, we find:
$$\left(3x\right)^3-3\left(3x\right)^2\cdot \:5+3\cdot \:3x\cdot \:5^2-5^3 \\ 27x^3-135x^2+225x-125$$