it says choose the correct way to write the name of this ray.

A ray can be expressed by writing the starting point first and next to any other point with an overhead arrow above the letters.
Since the ray starts from point 1 and passes through the point G.
So, the ray can be expressed as,
[tex]\vec{1G}[/tex]