Suppose Q invested Rs. y. Then, 500000/y = 2/4 or y = [500000 x 4 / 2] = 1000000.
P and Q invested in a shop. The profits were divided in the ratio of 2 : 4 respectively. If P invested Rs. 500000, the amount invested by Q is:

A) 5000000
B) 4000000
C) 1000000
D) 6000000
E) None