How do you work out the pKa of a substance from the titration curve that has two equivalence points?