Given a square loop and a long wire carrying a current, how do you calculate the magnetic force acting on the loop?