Correct Option is was
Explanation:
Even though 20 miles is plural 20 miles here is used as one unit hence is takes singular verb and since action happened in past was is the correct answer.
Other examples includel.
- 10 kms is 10,000 meters.
- 10 miles was all we needed to travel.
- 5 oranges is more than enough for us.