Draw two long rectangles on the page with rectangles, set them to red and blue respectively, and connect them into a long rectangle.
Use the arc (or free curve) tool to draw the magnetic field line, adjust the width and height, and set the line shape as a dotted line.
A text description can be inserted into a text box and set as a wireless bar with no fill color.
When all the pictures are finished, put them together.