The expression equals
where r, the exponent of g, is:
and s, the exponent of y, is:
and k, the leading coefficient is:

You can earn partial credit on this problem.