General Equilibrium: How to Solve for the Contract Curve