\[\frac{2x^{2} - 6x + 18}{x^{3} + 27} =\]
\[= \frac{2 \cdot (x^{2} - 3x + 9)}{(x + 3)(x^{2} - 3x + 9)} = \frac{2}{x + 3}.\]