Suppose the only distinct eigenvalues are and . As in part (c), acts by on and by on , so its spectral decomposition is
Every diagonal entry of an adjacency matrix is zero, giving
Thus every off-diagonal entry is the same number . Since these entries belong to and the graph is connected with at least two vertices, that common value must be one. Hence and is the complete graph .
Conversely, has adjacency matrix , with eigenvalue on and eigenvalue on . Therefore the requested graphs are precisely
as stated by the connected regular graph with two adjacency eigenvalues characterization.