Before departing for Miami from Chicago, the total time the plane had taken for the journey is 4+1 = <<4+1=5>>5 hours.
It took 3*4 = <<3*4=12>>12 hours to fly to Miami

The total flying time from New York to Miami is 12+5 = <<12+5=17>>17 hours
#### 17