26
Step-by-step explanation
Step 1
the distance between 2 points is given by:
Also, watch in the graph that the distance is equal to the distance from -18 to cero(purple line) plus the distance between cero and 8( green line)
Step 2
replace
Hence, the distance is 26