I need help on how to solve this problem: Each car of a five car train must be painted a solid color. The only color choices are red, blue, and yellow. If each of these colors must be used for at least one car, in how many ways can this train be painted? Help would be appriciated Thank you.