1: \begin{abstract}
2: We explicitly describe the possible pairs of triangle and square densities
3: for $r$-regular finite simple graphs.
4: We also prove that every $r$-regular unimodular random graph
5: can be approximated by $r$-regular finite graphs with respect to these densities.
6: As a corollary one gets an explicit description of the possible pairs
7: of the third and fourth moments of the spectral measure of
8: $r$-regular unimodular random graphs.
9: %and the eigenvalue distribution of $r$-regular finite graphs
10: \bigskip
11:
12: \noindent \emph{2010 Mathematics Subject Classification:}
13: Primary 05C38. Secondary 05C80, 05C81.
14:
15: \noindent \emph{Keywords:} cycle, return probability, regular graph,
16: graph convergence, unimodular random graph, spectral measure.
17:
18: \end{abstract}