You can put this solution on YOUR website! g/(g^2+6g-7) - 6/(g-1)
---------------------------
Factor:
g/[(g+7)(g-1)] - 6/(g-1)
------------------------
gcd = (g+7)(g-1)
------------------------
Rewrite each fraction with the gcd as its denominator.
g/gcd - 6(g+7)/gcd
-------------------------
Combine over the gcd:
(g-6)/[g+7)(g-1)]
===========================
Cheers,
Stan H.