Check my answer please?

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

A.
p = 40

B.
p = 100

C.
p = 28

D.
p = 1

i think that it's c.