In a class the ratio of students who passed to those who failed is 7 : 2. Had 4 fewer students passed, the ratio would have been 3 : 1. How many students are in the class?
Passed 7k, failed 2k
(7k − 4) : (2k + 4) = 3 : 1
7k − 4 = 6k + 12 → k = 16
Class = 9k = 144
Answer: 144