"Motorbikes have two wheels, cars have four, and there are no other kinds of vehicles."
I get you… We’ve now ventured into the lofty realm of advanced middle-school maths, and things are starting to look tricky. Let’s call (M) the motorbikes and (C) the cars. 2M+4C=24, and 2M=4C. Feeling more confused? Did I awaken traumatic experiences from your school years? Keep calm. The second clue tells us that there are twice as many motorbikes as cars.
The correct answer is “9”. Specifically, 6 motorbikes and 3 cars.