There isn't a single solution as you need only light up each section one at a time (not all at once). I'll give you a starting clue...with the placement of the prism, you can see that the top center MUST be red.
Top left is yellow.
That should get you well on your way.