m varies jointly as p and the square of q. If m is 35 when p is 7 and q is 1, find p when m is 225 and q is 3.

A. p = 3

B. p = 4

C. p = 5

D. p = 6​