Question 973753
2 w/m
4 w/c
x, how many motorcycles
y, how many cars



The first equation accounts for the number of wheels.
{{{system(2*x+4*y=54,x>=1,y>=1)}}}


You want the largest whole number for y in the system.
{{{x+2y=27}}}
{{{2y=-x+27}}}
{{{y=-x/2+27/2}}}


{{{graph(350,350,-2,30,-2,30,-x/2+27/2)}}}


Resolution on the graph is not very good, but x=1 seems like the best value.
{{{y=27/2-1/2}}}
{{{highlight(y=13)}}}