You can make 6 different towers. If red was at the bottom, there'd be two different possibilities for that: red, yellow, blue, and red, blue, yellow. Same for if blue was at the bottom: blue, red, yellow, and blue, yellow, red. Yellow also applies: yellow, red, blue, and yellow, blue, red. 3*2=6, so 6 possible towers.