If p varies directly with q, and p = 8 when q = 2, what is the value of p when q = 7?


A.p = 1


B.p = 100


C.p = 40


D.p = 28