\(\left(3x^2-3xy\right)-\left(5x-5y\right)\)
\(=3x\left(x-y\right)-5\left(x-y\right)\)
\(=\left(x-y\right)\left(3x-5\right)\)
\(\left(3x^2-3xy\right)-\left(5x-5y\right)\)
=\(3x\left(x-y\right)-5\left(x-y\right) \)
=\(\left(x-y\right)\left(3x-5\right)\)