Formula use: \left(a-b\right)^3=a^3-3.a^2.b+3.a.b^2-b^3
Explanation
Here, given expression is :
27x^3-135x^2+225x-125
\rightarrow\left(3x\right)^3-3.\left(3x\right)^2.5+3.3x.\left(5\right)^2-\left(5\right)^3
\rightarrow\left(3x-5\right)^3
Now, put the value of ‘x’ :
\{\left(3\times4\right)-\left(5\right)\}^3 [x=4]
\rightarrow\left(12-5\right)^3
\rightarrow\left(7\right)^3
\therefore 343
Ans: 343.