Here given that 2 n – 2 edges and the edges of
graph is partitioned into two edge disjoint trees.
So there are two vertex disjoint paths between
every pair of vertices.Common Data for Questions 28 and 29
Consider a complete undirected graph with vertex set {0, 1, 2, 3, 4}. Entry Wij in the matrix W below is the weight of the edge {i, j}.

Linked Data Question 30 and 31
An undirected graph G(V, E) contains n(n > 2) nodes named v1 , v2 , …, vn . Two nodes vi , vj are connected if and only if 0 < | i – j | ≤ 2. Each edge (vi , vj ) is assigned a weight i + j. A sample graph with n = 4 is shown below.
30. What will be the cost of the Minimum Spanning Tree (MST) of such a graph with n nodes?
total weight = 31
so if we put n = 6 in option “b” then we get 31
i.e. x2 – n + 1
(6)2 – 6 + 1 ⇒ 36 – 6 + 1 ⇒ 31.