According to the image the segment EG is equal to 11, this is also the addition of segment EF, x, and segment FG, x-7.
According to this the segment EG can be written in an equation like this

Solve this expression to find the value of x

After having the value of x