The ratio p to q is equivalent to the ratio 7 to m. When q=56, what is the value of p in terms of m?
8m
m392
392m
8m