I have used the energy-type signal autocorrelation function:
$$\mathcal{R}_{xx}(\tau)=\int_{-\infty}^{\infty}x(t)x^*(t+\tau)dt$$
I have rewritten the equation as: $$\begin{align} \int_{-\infty}^{\infty}\big[u(t)-u(t-1)\big]\big[u(t+\tau )-u(t+\tau-1)\big]dt \\ \end{align}$$
How do I simplify this equation?