The Gibbs free energy of the system refers to a state function as it is illustrated in terms of thermodynamic characteristics, which are state functions. ΔG = -RT ln(K)
K is just the concentration of keeping it at one end.
K = 10 mmol / 140 mmol
R is a constant = 8.31447 J/molK
T = 273 + 37 = 310 K
ΔG = -310 × 8.31447 × ln (10/140)
= 6802 J.