Let P and Q be given.
Assume H1.
Let r be given.
Assume Hr.
Apply H1 to the current goal.
Let x be given.
Assume H2.
Apply H2 to the current goal.
An exact proof term for the current goal is Hr x.