Since the gardener starts from the well,
∴ Distance covered by gardener for water to first treeD1=OA1=10 metre.
Distance covered by gardener for water to second tree D2=A1O+OA2=10+15=25 metre.
Distance covered by gardener for water to third tree D3=A2O+OA3=15+20=35 metre.
Distance covered by gardener for water to fourth tree D4=A3O+OA4=20+25=45 metre.
Hence, distance covered by the gardener for water to all the trees
D=10+25+35+45+...to25 trees
=10+(25+35+45+...to24 trees
=10+242{2.25+(24−1)10}
=10+12{50+230}
=10+12.280
=10+3360=3370 metre
Sum of the digits of d- 3+3+7= 13