Answer: Looking online, i see that the distance between New York and Dallas is 1547.2 mi, and the distance between Dallas and Chicago is 967.3 mi.
Then if you go from New York to Dallas, you must drive 1547.2 miles, then you go from Dallas to Chicago, so you drive other 967.3 miles.
Then the total miles traveled are the sum of both travels; this is:
1547.2 mi + 967.3 mi = 2514.5 mi
So the total miles that you drive are 2514.5 mi