Explanation:
an isoceles trapezoid means that both legs (the sides left and right) are of equal length.
the length of the baseline does not matter at all (I guess, it is given here to confuse us or for follow up questions).
so, we know that AB = CD.
and therefore
7y - 4 = 8y - 18
-4 = y - 18
14 = y