(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

h(f(x), y) → f(g(x, y))
g(x, y) → h(x, y)

Q is empty.