I am not really good at this topic, but I think you would need both the right hand rules (one that involves finding direction of current via magnetic field as well as the one for finding magnetic force)
The Attempt at a Solution
So I drew out magnetic lines going from the north pole to the south pole. I am completely lost from there though. How does a magnetic bar being pulled away or towards the wire loop play a role? I got that for A and B, the magnetic field lines are pointing downwards into the loop and for C and D the magnetic field are pointing upwards. Am I wrong in this logic?