I’m not sure how to figure out this problem I’ve been trying to for a couple minutes it needs to be simplified can I have some help please.

Answer:
[tex]\dfrac{x-4}{x^2+3x+9}[/tex]
Note:
[tex]a^3-b^3=(a-b)(a^2+ab+b^2)\\a^3+b^3=(a+b)(a^2-ab+b^2)[/tex]
Step-by-step explanation:
[tex]\dfrac{x^2-7x+12}{x^3-27}\\\\=\dfrac{x^2-4x-3x+12}{x^3-3^3}\\\\=\dfrac{x(x-4)-3(x-4)}{(x-3)(x^2+3x+3^2)}\\\\=\dfrac{(x-4)(x-3)}{(x-3)(x^2+3x+9)}\\\\=\dfrac{x-4}{x^2+3x+9}[/tex]