\(H_2(g) + CO_2(g) \rightleftharpoons H_2O(g) + CO(g)\)
\(Q = \frac{P_{H_2O} \times P_{CO}}{P_{H_2} \times P_{CO_2}}\)
\(= \frac{0.02 \times 0.01}{10 \times 20}\)
\(= 10^{-6}\)
Also,
\(\Delta G^\circ = \Delta_f^\circ G_{CO} + \Delta_f^\circ G_{H_2O} -\Delta_f^\circ G_{CO_2} -\Delta_f^\circ G_{H_2} \)
\(= -137.15 - 228.58 + 394.37 - 0\)
\(= 28.64 \ kJ\)
From the formula,
\(\Delta G = \Delta G^\circ + RT\ln Q\)
\(=28.64 \times 10^3 + 2.303 \times 8.314 \log (10^{-6})\)
\(= 28.64 \times 10^3 - 34.23 \times 10^3\)
\(= -5.6 \ kJ\)