Given the following question:
Vertical angles are angles that are equal and will form a striaght line, to find a vertical angle we have to see that they're usually opposites of each other.
In this case we have options A, B, C, and D. Only one of these options are opposites of each other which are angles 4, and 7 which means they are vertical angles.
Option D is the answer.