The linear equation can be written in the form y = mx + b. "y" and "x" stay as they are. The "m" is the slope or rate of change. The b is the y-intercept.
If she runs half the distance to school, and runs the same back, this means that she suns 7/8 miles in a day. In 5 days, 5 x 7/8 = 35/8 miles (or 4.375 miles in 5 days).