Before answering this, you need to know the difference between displacement and distance. Distance is merely the total length of path of motion. Displacement is the total length from starting point to finish point. So, it does not follow your actual path. Since the question is about distance, you simply have to add them.
Total distance = 35 km + 75 km = 110 km