1st  way: Multiply 10 x 4 = 40 miles

2nd way: Add 4+4+4+4+4+4+4+4+4+4=40 miles