Tom can see cars and motorcycles from his window in a parking lot. The cars have 4 wheels and the motorcycles have 2 wheels if there are 52 wheels altogether in the parking lot and a total of 16 cars and motorcycles combined. How many cars and how many motorcycles are there?