Using the formula of speed, It will take 1 hour 42 minutes to drive to New York.
The formula for Speed is given as [Speed = Distance ÷ Time].
The formula for time is given as [Time = Distance ÷ Speed ].
Time taken to drive to New York is :
= (20 miles / 40 mph) + ((80 - 20) miles /50 mph)
= 30 minutes + 1 hour 12 minutes
= 1 hour 42 minutes
Learn more about formula of speed here
https://brainly.com/question/3004254
#SPJ2