Pace yourself. Climb that hill a little slower and resist the temptation to do a leg and lung burn along the way (sprinting hard on a long flat until your legs or lungs give out). Make frequent short stops and don't worry about the time. The next 40-mile ride will feel easier, and then you'll do a half-century. Next summer you'll be amused that you thought 40 miles was such a big deal.