You will need to make some additional assumptions here:
MN is parallel to EG and angle EDF = angle GDF.
Then y=14 by the Side Splitter Theorem.
The angle bisector divides the opposite side into segments proportional to the adjacent sides.
x/24 = (x+6)/36 => x=12 and EG = 12 + 18 = 30