The total distance of the trip is 50 miles
From the question, we have the following parameters
Distance completed = 40%
Distance travelled = 20 miles
Represent the total distance with x
So, we have the following equation
Distance travelled = Distance completed *Total distance
This gives
Distance travelled = Distance completed * x
So, we have
20 miles = 40% * x
Divide both sides by 40%
x = 50 miles
Hence. the length of the trip is 50 miles
Read more about distance at
https://brainly.com/question/7243416
#SPJ1