Let's analyze the given quadrilateral to find the length EF. Keep in mind that we have been told that the figure is a rectangle.
Recall that opposite sides of a rectangle are congruent. Therefore the lengths of sides EF and HG are equal.
EF = HG ⇔ 4x - 6 = x + 3
Let's solve this equation for x.