Consider lines AB and XY,
they intersect at the point P
Therefore,
AB and XY and interesting lines.
Intersecting lines give vertically opposite angles.
/ XPA and / YPB are vertically opposite angles
/ XPA~/ YPB as vertically opposite angles are equal.