A pegboard has a total of six holes, all in a horizontal line numbered one through six from left to right. Five pegs-one blue, one green, one red, one white, and one yellow – are to be arranged on the pegboard, one peg per hole, leaving exactly one empty hole for any arrangement. To be acceptable, any arrangement of the pegs must meet the following conditions:
The green peg must be closer to the red peg than to the blue peg.
The yellow peg must be in the hole immediately to the left of the blue peg.
The white peg must not be in a hole immediately adjacent to the blue peg.
The red peg must not be in hole number one