A train is travelling at a speed of 80 mph enters a tunnel that is 0.75 miles long. The length of the train to pass through the tunnel is 0.25 miles. How long does it take for all of the train to pass through the tunnel, from the moment the train enters to the moment the rear emerges?