John has 8 cm pieces of toy train track and Tom has 18 cm pieces of train track. How many of each
piece would each child need to build tracks that are equal in length?