Spencer was walking home from school when he realized he had forgotten his homework. He walked back to the school, picked up his homework and then walked home. The graph shows his distance from home at different times. In total, how far did he walk?
(A) $2800 \mathrm{~m}$
(B) $1000 \mathrm{~m}$
(C) $800 \mathrm{~m}$
(D) $1200 \mathrm{~m}$
(E) $1400 \mathrm{~m}$

![](https://cdn.mathpix.com/cropped/2024_04_20_46ead6524a8d61e21c51g-084.jpg?height=398&width=569&top_left_y=2186&top_left_x=1233)