The Henderson-Hasselbalch equation is: