David is rowing a boat upstream. The river is flowing at a speed of 2 miles per hour. David starts rowing at a speed of 6 miles per hour, but as he gets tired his speed decreases (at a rate of 1 mile per hour, every hour). Which equation represents the speed of the boat for x hours spent rowing?
A. y = x + 4
B. y = 6 − 2x
C. y = 4 − x
D. y = x − 4
E. y = 6 − x