In Ms. Smith's class, the ratio of students that walk to school to students that take the subway is 1:2. The ratio of students that take the subway to students that take the bus is 1:3. If 3 students walk to school, how many students take the bus?
  A. 6 students B. 18 students C. 9 students D. 8 students