Or if you're working with a real life issue I can assume you have access to data-books or the Internet for data. Then find the enthalpies of formation of each of your products and reactants, find the standard enthalpy change of the reaction; molar entropies for each of your products and reactants and find the standard entropy change; calculate from ΔG(stn)=ΔH(stn)-TΔS(stn) the standard Gibbs' free energy; and then you will have to use ΔG=ΔG(stn)+R*T*ln(Q) where Q=P(HCl)^2=P(total)^2 * x(HCl)^2 where the likelihood that HCl is not the only gas contributing to your total pressure is treated. All this assumes that enthalpy change and entropy change are independent of temperature; that can be fixed by using heat capacities to modify them for the desired temperature.