Why to double the answer

In Time 2:30 it is said that we will find the answer from l to r then double the answer , but were it is written to double the answer or to calculate both from r to l and back to r

because from r to l also it will be same answer