to increase the affinity of human haemoglobin up on oxygen, some amino acids residues need to changed, so the haemoglobin will hold the oxygen more tightly, to have more rapid respond toward smaller changes of oxygen concentrations at lower levels.
And this is what evolution through natural selection has done to the homologous proteins of whales and dophins.