If the distance from the town of Bree to Weathertop is 5 miles on a 45 degree upward slope, what is the elevation gain (omit units)?