Brute force method of sum of all subarrays

I couldn’t understand that why bi and bj started from li+1 and ri+1 ?
This tutor has totally puzzled me…

@Tiwary725
hello ravi ,
bi and bj should start from li and ri