Answer:
In the Garage, Numeber of cars are 15 and Number of motorcycles are 5
Explanation:
let number of motorcycles be = x
he had 2 times more cars than motorcycles so ,no of cars = 2x
he bought 1 more car,so number of cars = 2x+1
he sold 2 motorcycles,so motorcycles = x-2
he had 3 times more cars than motorcycles so, we equate it like this:
3(x-2) = 2x+1
solving the equation
3x-6 = 2x+1
here we find , x=7
solving for no of cars:
2x+1
2(7)+1
no of cars = 15
solving for no of motorcycles:
x-2
7-2
no of motorcycles = 5