Get a heart rate monitor and train more.
See how far you can bike at 70% of your max heart rate and keep it consistent.
A lot of people start out way too fast and completely lose it while they could've gone 3-4x farther if they just backed down the intitial effort by 1-3 mph average.