Let P be given.
Assume H1.
Let x be given.
Assume H2.
Apply H1 to the current goal.
We use x to witness the existential quantifier.
An exact proof term for the current goal is H2.