To make a motor bidirectional using a DPDT relay, just have the motor attached one way to one pair of nonmoving contacts, and have the motor attached with the leads flipped to the other pair of nonmoving contacts. That way, turning on or off the relay will cause the way the motor is connected to switch -- reversing its direction.