Fig. 7.17 shows ATP being used up to move protons against a gradient (active transport) while Fig. 9.14 shows the opposite, the production of ATP powered by the passive movement of protons down their concentration gradient.
Work Step by Step
This can be seen both in the figures listed in the question as well as from a comparison of the associated text-- pay attention to whether ATP is being used or made and whether protons are moving with or against their existing gradient.