Welcome to Westonci.ca, where you can find answers to all your questions from a community of experienced professionals. Get detailed and precise answers to your questions from a dedicated community of experts on our Q&A platform. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

On Sunday, Farmer John took Anne to the carnival. Anne's favorite ride is on the Motorcycle Circuit. As she waited in line, she noticed that there were two types of vehicles: motorcycles (2 wheels) and motorcycles wit sidecar ( 3 wheels). She counted 12 vehicles and 31 wheels. How many of each type of vehicle are on the ride?