\begin{align}
f_1 &: x_{1:2} \mapsto 3 + 0.1(x_1 - x_2)^2 - \frac{x_1+x_2}{\sqrt{2}}\\
f_2 &: x_{1:2} \mapsto 3 + 0.1(x_1 - x_2)^2 + \frac{x_1+x_2}{\sqrt{2}}\\
f_3 &: x_{1:2} \mapsto (x_1 - x_2) + \frac{p}{\sqrt{2}}\\
f_4 &: x_{1:2} \mapsto (x_1 - x_2) - \frac{p}{\sqrt{2}}\\
f_5 &: x_{1:2} \mapsto \text{min} \{f_1(x_{1:2}), f_2(x_{1:2}), f_3(x_{1:2}),f_4(x_{1:2})\} + 10,
\end{align}
