Firstly, apologies for abusing the notation by placing the Dirac measure inside an integral for which I was told that this should not be done from a previous question asked by me. But given the circumstances, I have no choice.
This is almost a word by word copy of the derivation given on page 2 of this paper on the Dirac delta:
Starting from $\displaystyle\int_{-\infty}^{\infty} f(x) \delta(x) \, \mathrm{d}x = f(0)$ and by changing variables and noting that $\delta(x)$ is symmetric we can derive a more general formula:
$$\space \space \space \space \space \space \space \space \begin{align}\color{red}{\tag{1}}\quad f(0)=\int_{-\infty}^{\infty} f(\xi) \delta(\xi) \, \mathrm{d}\xi \end{align}$$
$$\begin{align}\color{blue}{\tag{2}}\quad f(x)=\int_{-\infty}^{\infty} f(\xi+x) \delta(\xi) \, \mathrm{d}\xi\end{align}$$
$$\begin{align}\color{#F80}{\tag{3}}\quad f(x)=\int_{-\infty}^{\infty} f(\xi) \delta(\xi - x) \, \mathrm{d}\xi\end{align}$$
$$\begin{align}\color{#080}{\tag{4}}\quad f(x)=\int_{-\infty}^{\infty} f(\xi) \delta(x-\xi) \, \mathrm{d}\xi\end{align}$$
$\color{red}{(1)}$ was the only part I understood. So does this mean the change of variables was such that $x \rightarrow \xi$?
Going from part $\color{#F80}{(3)}$ to $\color{#080}{(4)}$ can only mean that $\delta(\xi - x)=\delta(x-\xi)$. Why is this true? I know that $\delta(x)$ is symmetric but still don't get why this makes $\delta(\xi - x)=\delta(x-\xi)$?
Now, lastly and most importantly, I have no idea how they went from $\color{blue}{(2)}$ to $\color{#F80}{(3)}$ and would be very grateful if anyone could explain/show all the intermediate steps.
Thanks in advance.