Vertical angles are those angles which are opposite to each other when two non-adjacent lines cross each other at one point. .i.e. if two lines are intersecting at a unique point.
So, ∠RQW and ∠TQU are the only pairs of vertical angles, as they have no common pair of sides except one point i.e.'Q' at which both the lines are intersecting.