The coordinate grid below shows the locations of Dave's house, John's house, and the community swimming pool. Dave cycled in a straight line from his house to John's house, and then together they cycled to the community swimming pool. What is the total distance (in units) that Dave cycled?
Which is correct?
A 20
B24
C 32
D 40