Look at weak acids and bases, compounds that are only slightly ionized in water-based solutions. You learn how to solve the "classic" weak acid problem and apply the same approach to weak base problems.