In the given figure, we have two angles ADB and CDD which are vertical angles.
Vertical angles are also called opposite angles since they are opposite to each other.
Recall that vertical angles are always equal.
So that means we can equate these two angles
Now we can easily solve this equation for x.
Therefore, the value of x is 7.