A bag contains 40 red and green marbles. The ratio of red marbles to
green marbles is 3 to 1. How many green marbles are in the bag?
A. 10
B. 15
C. 20
D. 30