The rule below (also in Figure 1) is also a sentential form and matches since its (underlined) root labels of the target tree fragments read "NP PP".
we can substitute the latter sentential form into the former and obtain the sentential form shown at the bottom of Figure 2.