Solve for g -0.5g=-3g+0.25