Percentage of people from village D having their favourite fruit as Banana and Guava together = 20 + 12 = 32%
Since, percentage of people from villege D having their other favourite fruit = 100 - 32 = 68%
Hence, required number of people = 20/100 x 5800 - 1/2 x 21/100 x 5800 = 986