Equilibrium Constant Calculation and Solving for x