How do you solve titration problems step by step?