Yes, with a small remark that there are two vertices of degree 2 in the first graph, not "the" vertex.in graph(i) the vertex of degree2 is adjacency to two vertices of degree4,in graph(ii) the vertex of degree2 is adjacency to one vertice of degree1 and one vertice of degree4.