Answer:
The number of midsize cars is
![266](https://img.qammunity.org/2020/formulas/mathematics/middle-school/hyz3l8aix6p7777a865wfj313u3cywga2e.png)
The number of compact cars is
![84](https://img.qammunity.org/2020/formulas/mathematics/middle-school/2u5akxkg1ju8hdrbs0x0efvpmd633266ix.png)
Explanation:
Let
x-----> the number of midsize cars
y-----> the number of compact cars
we know that
-----> equation A
----> equation B
substitute equation B in equation A
Find the value of x
----->
therefore
the number of midsize cars is
![266](https://img.qammunity.org/2020/formulas/mathematics/middle-school/hyz3l8aix6p7777a865wfj313u3cywga2e.png)
the number of compact cars is
![84](https://img.qammunity.org/2020/formulas/mathematics/middle-school/2u5akxkg1ju8hdrbs0x0efvpmd633266ix.png)