Solve for g 5-h=2gk+4