Question 161618
let x = number of bicycles
let y = number of go karts
-----
each bicycle has 1 seat and 2 wheels.
each go kart has 1 seat and 4 wheels.
-----
total number of seats is 21.
seats equation is
-----
1*x + 1*y = 21
-----
total number of wheels is 54.
wheels equation is
-----
2*x + 4*y = 54
-----
solve these two equations simultaneously to get x and y.
-----
multiply seats equation by 2 on both sides to make it
2*x + 2*y = 42
subtract seats equation from wheels equation.
     2*x + 4*y = 54 = wheels equation
   - 2*x + 2*y = 42 = seats equation
--------------------------------
   = 0*x + 2*y = 12
--------------------------------
equation becomes
2*y = 12
y = 6
if y = 6, then x + y = 21 becomes x + 6 = 21 becomes x = 15
-----
x = 15
y = 6
-------
substitute for x and y in seats equation
15 + 6 = 21 = ok
-----
substitute for x and y in wheels equation
2*15 + 4*6 = 54
30 + 24 = 54
54 = 54 = ok
-----
answer is:
number of bicycles is 15
number of go karts is 6
-----