In Section 6.5.1, we bounded the variance of the number of 4-cliques in a random graph in order to demonstrate the second moment method. Show how to calculate the variance directly by using the equality from Exercise 3.9: for $X=\sum_{1=1}^{n} X_{t}$ the sum of Bernoulli random variables,
$$
\mathbf{E}\left[X^{2}\right]=\sum_{i=1}^{n} \operatorname{Pr}\left(X_{i}=1\right) \mathbf{E}\left[X \mid X_{i}=1\right] .
$$