Let the initial numbers of passengers be f and s respectively. Then f = 1.5s.
The second equation is f - 3 = s + 2. Replacing f with 1.5s, we get:
1.5s -3 = s + 2. Combining like terms, 0.5s = 5, and s = 10. Then f = 15.
Before the Newton Center stop, there were 15 passengers in the first car and 10 in the second.