Plot how a polyprotic acid distributes over its forms as a function of pH, and read the fraction of each species at the pH you are working at.
Chemical equilibrium, solved exactly and drawn in your browser. The tools need JavaScript; these are the pages they offer: