Answer:
40 inches long
Step-by-step explanation:
In order to find the shortest possible track that they can both have but still be equal in length, we need to find the least common multiple of their train track pieces. In order to do so, we simply write out the multiplication table of each of their pieces' length until we find a common number, like so
8*1 = 8 20*1 = 20
8*2 = 16 20*2 = 40
8*3 = 24
8*4 = 32
8*5 = 40
Now we have found the first common multiple which is a value of 40 meaning that the shortest train track that they can build with the same length would be a track that is 40 inches long