Consider following reactions:
(a) 2ZnS+3O2→2ZnO+2SO2
ZnO+C→Zn+CO
(b) 2ZnS+C→2Zn+CS22ZnS+3O2→2ZnO+2SO2
ZnO+C→Zn+CO
is much more spontaneous reaction than B.
And as we know,
ΔG=ΔH−TΔS
As A is more spontaneous reaction so it will have higher negative value of G.
So, B have higher positive value of G.