The problem states that |w| >= p ---> this should be |w| >= k to be correct. The length of w needs to be at least k, where k is defined to be the pumping length of the stronger pumping lemma (see book pg 122). Note that k does not equal p as defined previously in the chapter!