Answer:
There were 3 cars and 9 buses used for the field trip.
Explanation:
Let the number of cars be x
and Number of buses be y.
Total number of vehicles used = 9
Hence,

Also
Each Car carries students = 4
Each Bus carries students = 35
Total Students = 222
Hence,

Now multiplying equation 1 by 4 we get;

Now Subtracting equation 3 from equation 2 we get;
-(4x+4y) =222-36\\4x+35y-4x-4y=186\\31y = 186\\y = (186)/(31) = 6](https://img.qammunity.org/2020/formulas/mathematics/middle-school/jo2hytp0cpy46vq1y61neh2591j7tafqsz.png)
Now y = 6
∴ x + y = 9 (Given)
x + 6 = 9
x = 9 - 6
x = 3
Hence, There were 3 cars and 9 buses used for the field trip.