Let

be the number of cars (coches) and

the number of motorbikes (motos).
We know that sum of cars and motorbikes is 55, so:

equation (1)
We can infer that the a car has 4 wheels and a motorbike has 2 wheels.Since the total number of wheels is 170, the sum of the car's wheels and the motorbike's wheels is 170:

equation (2)
Solving for

in equation (1):


equation (3)
Replacing equation (3) in equation (2):






equation (4)
Replacing equation (4) in equation (3):



We can conclude that there are 30 cars and 25 motorbikes in the parking lot.
Podemos concluir que hay 30 coches y 25 motos en el estacionamiento.