In order to determine the number of pavers that Judy will need for the small patio in her garden, we divide the area of the patio by the area of the paver. That is,
number of pavers = (2p² + 30p + 108) / (p² + 5p - 6)
We then factor both the numerator and the denominator.
n = 2(p + 9)(p + 6) / (p + 6)(p - 1)
We cancel p + 6 in both the numerator and denominator to get an answer of,
2(p + 9) / (p - 1)