The q is asking the no. of positive numbers those satisfy the given function.
I will take 5 as an example prime no., then according to choices given :
Is the total no. of positive integers going to be p-1=5-1=4
p-2=5-2=3; (p+1)/2=(5+1)/2=3 (incidentally same as earlier) or (p-1)/2=(5-1)/2=2 or 2 as the final choice.
According to q : if p(5) then, all no. which are satisfying the function would be 1,2,3,4.Because they are less than 5 and each of these has no positive factor/s in common with 5 except 1.
So p-1 satisfies here.
Take 7 or 11 (as prime nos.)and so on.. all of them satisfy the function because the total no. of the function would be one less than the prime no. itself to satisfy the function.
Amit