Detailed Instructions: The task is to generate the correct answer for a given math problem.
Problem:Problem: a truck travels 20 miles due north , 30 miles due east , and then 20 miles due north . how many miles is the truck from the starting point ?
Solution:
50