Here AB must be greater than AC and BC otherwise the edge AB must be included in the minimum spanning tree so to keep the weight of the tree minimum weight we have to take weight of AB as 10 so ans will be 10+9+2=21 answer D
But we may get same MST if AB=AC = 9 also but that "may" so to ensure only 10 is taken