Calculate the joint distribution of degrees of connected node pairs for the middle graph and right graph in question 1 of the first tutorial. For the middle graph, compute the marginal and compare your result with the degree distribution for this graph.