Question 156626
(g^2 - g - 12)/(g^2 - 10g + 24) / (g^2 - 9) / (g^2 - 7g + 6)

--------------------------------------------------------------
Factor where you can to get;

[(g-4)(g+3)] / [(g-6)(g-4)] / [(g-3)(g+3)] / [(g-6)(g-1)]

---------------------------------------------------------------
Invert the denominator and change to multiplication:

[(g-4)(g+3)] / [(g-6)(g-4)] * [(g-6)(g-1)][(g-3)(g+3)] 

---------------------------------------------------------------
Cancel factors that are common to a numerator and a denominator,
such as (g-4), (g-6), (g+3):

[1/1] / [1/1)] * [(g-1)][(g-3)] 

----------------------------------------------------------------

= (g-1)/(g-3)

=====================
Cheers,
Stan H.