Red wants to sit at a corner.
Green wants to face red.
Orange wants red as immediate neighbor.
Blue wants orange as immediate neighbor.
Turquoise wants to face blue.
Magenta does not want green as immediate neighbor.
Yellow wants to face magenta.
Purple does not want to sit at a corner.
source