If I understoof your question right you need something like this. To get the x-coordinate of the point F I simply access it via x[F] which GeoGebra turns into x(G). Hope it helps.
F
x[F]
x(G)
See the example: