In figure,the cube is 40.0 cm on each edge.Four straight segments of wire ab,bc,cd and da form a closed loop that carries a current I=5.00 A,in the direction shown.A uniform magnetic field of magnitude B = 0.020 T is in the positive y-direction.Determine the magnitude and direction of the magnetic force on each segment.