Science P6 HPPS 2018 SA1 Q21

Salena set up three magnets AB, CD and EF and an iron bar GH as shown in the diagram below.Which one of the following arrangements is possible?