Earth is 8 light minutes from the sun, Mars is 12 light minutes from the sun. So when Earth and Mars are closest to each other, they're 4 light minutes away from each other, and when they're farthest from each other (on opposite sides of the sun), they're 20 light minutes away from each other.