f-g/1 = g/1

How can I make g the subject?

f = g/1 + g/1

f = g+g
2g=f
g = f/2

Are you sure you typed it correctly?
Why would anybody write g/1 ?