In a puzzle involving four colors: Red, Blue, Green, and Yellow, the following rules apply: 1) Red cannot be next to Blue. 2) Green must be next to Yellow. 3) Blue cannot be at either end. Which arrangement is valid?

Answer: A. Green, Yellow, Red, Blue
This arrangement keeps Red away from Blue, places Green next to Yellow, and Blue is not at either end.