Based on the question, you would need to isolate x by itself. Here is how you do it:
g=xc
divide by c on both sides to get x by itself on the left side.
g/c=xc/c
your final answer would be g/c=x
you can flip that if you like to x=g/c.
Hope this helps!