Since the distance that Mairead jogged is 3/5 times the miles she ran, she jogged for 3/5*40 = <<3/5*40=24>>24 miles.
The total distance that she covered while running and jogging is 24+40 = <<24+40=64>>64
She also walked for 5*24 = <<5*24=120>>120 miles for her exercise.
She covered 120+64 = <<120+64=184>>184 miles while doing her exercise.
#### 184