Figure 7:
Study algorithm.