A store is designing the space for rows of nested shopping carts. Each row has a starting cart that is 4 feet long, followed by the nested carts (so 0 nested carts means there's just the starting cart). The store measured a row of 13 nested carts to be 23.5 feet long, and a row of 18 nested carts to be 31 feet long.