Frederick used all his tiles to make a mosaic that was in the shape of a rhombus with a base of 10 inches and a height of 8 inches. Carrie has the same number of tiles as Frederick. She wants to use all of her tiles to make a mosaic in the shape of a parallelogram with a height of 5 inches. How long should she make the base of her mosaic?​