The answer is D. Tom makes whitewashing the fence out to be great fun in which he deserves something in return if he were to allow the other boys to do the task. In the end he received many trinkets and other items, in exchange the boys are allowed to paint the fence for Tom.