The strategy I used here is plugging in some numbers.
Lets look at statement 1 first.
q = 1 -> p = 1 Distinct factors: 1
q = 2 -> p = 4 Distinct factors: 1,2,4
q = 3 -> p = 9 Distinct factors: 1,3,9
q = 4 -> p = 16 Distinct factors: 1,4,16
q = 5 -> p = 25 Distinct factors: 1,5,25
q = 6 -> p = 36 Distinct factors: 1,2,3,4,6,9,12,18,36
From the pattern above you can see that p does have an odd number of distinct factors for the numbers plugged in above. Statement 1 is SUFFICIENT. With this you can already eliminate choices B,C and E.
Now, lets look at statement 2. Again plugging in the same numbers for n
n = 1 -> p = 3 Distinct factors: 1,3
n = 2 -> p = 5 Distinct factors: 1,5
n = 3 -> p = 7 Distinct factors: 1,7
n = 4 -> p = 9 Distinct factors: 1,3,9
n = 5 -> p = 11 Distinct factors: 1,11
n = 6 -> p = 13 Distinct factors: 1,13
From the pattern above you can see that p has even and odd number of distinct factors for numbers plugged in above. Statement 2 is NOT SUFFICIENT. Thus, the answer choice is A.