You can put this solution on YOUR website! Okay, from
x sqrt(18) - 3 sqrt(8x^2)
The idea is to factor the roots out into perfect squares and what's left over, for example sqrt(18) = sqrt(9)*sqrt(2) = 3*sqrt(2)...
Also sqrt(8x^2) = sqrt(4x^2)*sqrt(2) = 2x*sqrt(2)
So if we put it together, we have
x sqrt(18) - 3 sqrt(8x^2) =
3x*sqrt(2) - 6x*sqrt(2) =
-3x*sqrt(2)