Answer
See below.
Work Step by Step
Each current-carrying coil becomes an electromagnet. The situation can be envisioned as a line of little bar magnets, and each magnet (i.e., coil) is magnetically attracted to its neighbors in front of it, as well as behind it.