Answer:
p=7, p=10, p=11 and p=15
Explanation:
The given expression is

This expression represents the number of cookies that each person, p, can have if the cookies are divided equally.
If p=5, then

It means each person would get 7 cookies, with 1 cookies left over.
If p=7, then

It means each person would get 5 cookies, with 1 cookies left over.
If p=8, then

It means each person would get 4 cookies, with 4 cookies left over.
If p=7, then

It means each person would get 5 cookies, with 1 cookies left over.
If p=10, then

It means each person would get 3 cookies, with 6 cookies left over.
If p=11, then

It means each person would get 3 cookies, with 3 cookies left over.
If p=12, then

It means each person would get 3 cookies, with 0 cookies left over.
If p=15, then

It means each person would get 2 cookies, with 6 cookies left over.
Therefore, the correct evaluations of the expression are p=7, p=10, p=11 and p=15.