Answer:
The number of midsize cars is [tex]266[/tex]
The number of compact cars is [tex]84[/tex]
Step-by-step explanation:
Let
x-----> the number of midsize cars
y-----> the number of compact cars
we know that
[tex]x+y=350[/tex] -----> equation A
[tex]x=14+3y[/tex] ----> equation B
substitute equation B in equation A
[tex](14+3y)+y=350[/tex]
[tex]3y+y=350-14[/tex]
[tex]4y=336[/tex]
[tex]y=336/4=84[/tex]
Find the value of x
[tex]x=14+3y[/tex] -----> [tex]x=14+3(84)=266[/tex]
therefore
the number of midsize cars is [tex]266[/tex]
the number of compact cars is [tex]84[/tex]