x=16
Step-by-step explanation
the ratio is 2:3
it means for every 2 cars, there are 3 trucks
Now, it the total of trucks is 24,the proportion must be the same, so
Step 1
Let
x represents the number of cars for 24 trucks

Step 2
solve for x

Hence, the answer is 16