Draw a line that joins the two red boxes. Then draw another line that joins the blue boxes and finally another one that joins the green boxes. None of the lines should cross or leave the area defined by the drawing.
You can get it?
This is a possible solution: