Example 1 of Angles Pairs and Parallel Lines

In the figure below, line AB parallel to line CD, intersected by line EF at point G and H respectively. If angle CHF is 30 degree, what is the value of x in degree?
angles pairs and parallel lines examples
Since line segments CD and EF intersect at point H, so angle GHD = angle CHF = 30o. (Vertical angles are congruent)
Since AB // CD (Given), so angle EGB = angle GHD = 30 degrees (Corresponding angles are congruent)
x = angle EGB = 30o.
The value of x is 30o.