The average of 5 consecutive numbers starting from b is a+4.
Average of 5 numbers starting from a :
Avg = (a+a+1+a+2+a+3+a+4)/5
Avg = a+2
=> b = a+2
Average of 5 numbers starting form b :
Avg = (b+b+1+b+2+b+3+b+4)/5
Avg = b+2
Substituting b = a+2
Avg = (a+2) + 2
Avg = a+4
#SPJ4