The analysis of the binding of two ligands by an allosteric protein