Let X, F and G be given.
Let y be given.
Let x be given.
We will
prove y ∈ {G x|x ∈ X}.
rewrite the current goal using H2 (from left to right).
We will
prove F x ∈ {G x|x ∈ X}.
rewrite the current goal using H1 x Hx (from left to right).
We will
prove G x ∈ {G x|x ∈ X}.
Apply ReplI to the current goal.
An exact proof term for the current goal is Hx.
∎