On a number line suppose point E has a coordinate of -2, and EG=12 What are the possible coordinates of G?

We have the following data:
E = - 2
EG = 12
G = ?
The distance between E and G is 12 and E it is -2, therefore:
[tex]\begin{gathered} EG=G+E \\ 12=G+2 \\ G=12-2 \\ G=10 \end{gathered}[/tex]The value for G is 10 units