Red card blue card

Can you arrange the red and blue cards so that the rules are all followed?

Problem



Sally has 5 red cards, numbered 1, 2, 3, 4 and 5, and 4 blue cards, numbered 3, 4, 5 and 6.

Can you find a way in which Sally can line the cards up so that the colours alternate, and so that the number on each red card is a factor of every number next to it?

This problem is adapted from the World Mathematics Championships