Solve for g 2g-4f=6f