Let's take the first:
[tex]\frac{3x^{2}-27}{18-6x}[/tex]
It is smart to focus on the numerator and denominator separately:
FIRST SIMPLIFICATION:
Numerator: [tex]3x^{2}-27[/tex]
Note that 3 is common factor, since 27=3*9.
Therefore, you can write:
[tex]3x^{2}-27=3*(x^{2}-9)[/tex]
Denominator: [tex]18-6x[/tex]
Here, 6 is a common factor, since 18=6*3
Thus, you can write: [tex]18-6x=6*(3-x)[/tex]
Therefore, we have:
[tex]\frac{3x^{2}-27}{18-6x}=\frac{3*(x^{2}-9)}{6*(3-x)}[/tex]
But, now we can see that because 6=3*2, we have:
[tex]\frac{3*(x^{2}-9)}{6*(3-x)}=\frac{3*(x^{2}-9)}{3*2*(3-x)}=\frac{(x^{2}-9)}{2*(3-x)}[/tex]
We have managed a simplification!
SECOND SIMPLIFICATION:
Numerator:
If you are perceptive, you see that we have: [tex]x^{2}-9=(x+3)*(x-3)[/tex]
Let us write this a bit differently, by extracting a minus sign from the last parenthesis:
[tex]x^{2}-9=(x+3)*(x-3)=-(x+3)*(3-x)[/tex]
But now, we have:
[tex]\frac{(x^{2}-9)}{2*(3-x)}=\frac{-(x+3)*(3-x)}{2*(3-x)}=-\frac{(x+3)}{2}[/tex]
since the factor (3-x) occurs in both numerator and denominator.
Got that?