Answer is : D
Let's start with finding out how much he had to pay. 20-10.40 will give us that answer. That will equal the cost of 6 avocados, giving us an equation of
20 - 10.40 = 6p
Now we'll see which equations match this. Bingo! Answer number D is the same equation with 10.40 added on both sides.