This graphic shows Mars in the middle with a blue line running from top to bottom of the planet representing the comets flight path.  The comet and coma intersect that line at the top of Mars.  Three Mars orbiters are hiding behind the planet, away from the comet coma and particles.  An orange line/arrow crosses from right to left showing the direction of Mars.
Image Credit: NASA/JPL-Caltech