Hello!
The answer is:
Option B.
![Cars=14\\Motorcycles=24](https://img.qammunity.org/2020/formulas/mathematics/middle-school/16m23cpsuo9vbedbnkkw2go3dv4pmx167h.png)
Why?
We know that the total of tires of all the vehicles was 104, and there were 38 vehicles with 4 tires and motorcyles with 2 tires, so, we can calculate how many cars and motorcyles participated in the ride using the following equation:
Let x be the cars and y be the motorcyles, so:
![x+y=38](https://img.qammunity.org/2020/formulas/mathematics/middle-school/s3haejkee5dhte2335zxlm45rn6d9ip9pv.png)
and,
![4x+2y=104](https://img.qammunity.org/2020/formulas/mathematics/middle-school/c0prkf6qp2sdq74opwlp0eloyvbaq0lffi.png)
So, isolating x in terms of y from the first equation, we have:
![x=38-y](https://img.qammunity.org/2020/formulas/mathematics/middle-school/y07zuqppnlxt61qnbhs7u31d08487hq051.png)
Then, substituting "x" into the second equation we have:
![4(38-y)+2y=104\\152-4y+2y=104\\152-2y=104\\2y=152-104\\2y=48\\y=(48)/(2)=24](https://img.qammunity.org/2020/formulas/mathematics/middle-school/xrtvy99t0adtuvxlam4z6a3mthhjbuaspu.png)
Now, substituting "y" into the first equation, we have:
![x+24=38](https://img.qammunity.org/2020/formulas/mathematics/middle-school/2r9jr3930ciimqsw7j9zoeb0kygc7s8tth.png)
![x=38-24=14](https://img.qammunity.org/2020/formulas/mathematics/middle-school/1vihqh3m09298h06ty5fgkcyijzx3pkcgk.png)
So, there were a total of 14 cars and 24 motorcycles in the ride.
Have a nice day!