Mr. Allen spent​ $40 for 6 movies. If each movie is the same​ price, how much would he have to spend for 24​ movies?