We have that approximately, the distance from Saturn to Jupiter is:
[tex]4.56x_{}10^8\text{ miles}[/tex]and the distance from Jupiter to Mars approximately is:
[tex]3.42x10^8\text{miles}[/tex]then, the total distance traveled would be the sum of these two quantities:
[tex](4.56x10^8)+(3.42x10^8)=7.98x10^8[/tex]therefore the total distance is 7.98x10^8 miles