We are told that point E has a coordinate of -5 and that the length of the line segment EG is 6.
On a number line, this means that point G can be 6 units to the right of E or 6 units to the left of E.
We determine the exact coordinate of G by adding and subtracting 6 from the coordinate of E.
So, G can be -5+6 = 1
Or, G can be -5-6 = -11
The coordinate of point G can be -11 or 1.