Driving latching relays directly

It looks like each coil would require 40mA. An Arduino might do that, but it would be safer to use a transistor. You would just need a transistor and a resistor for each coil, plus the diode of course which you would need in any case.

But I'm confused by this: