[step:Convert the segment integral to a Riesz-type pointwise bound on $|\nabla u|$]We rewrite the inner double integral by interchanging the order of integration (Fubini-Tonelli applies because the integrand is non-negative) and then changing variables via polar coordinates centred at $x$.
**Polar substitution.** Introduce polar coordinates centred at $x$: write $y = x + s\omega$ with $s = |y - x| \in [0, 2]$ (since $y \in B(0,1)$ and $|x| < 1$, $|y - x| \le 2$) and $\omega \in S^{n-1}$. Then $d\mathcal{L}^n(y) = s^{n-1}\, d\mathcal{H}^{n-1}(\omega)\, d\mathcal{L}^1(s)$ and $|x - y| = s$. Now substitute $\tau := ts$ along the ray $y = x + s\omega$, with $z := y + t(x - y) = x + (1-t)s\omega$, hence the ray length from $x$ to $y + t(x-y)$ is $(1-t)s$. Set $\rho := (1-t)s \in [0, s]$, so $1 - t = \rho/s$, $dt = -d\rho/s$, $z = x + \rho\omega$, and the joint measure is
\begin{align*}
d\mathcal{L}^1(t)\, s^{n-1}\, d\mathcal{H}^{n-1}(\omega)\, d\mathcal{L}^1(s) = \frac{d\mathcal{L}^1(\rho)}{s}\, s^{n-1}\, d\mathcal{H}^{n-1}(\omega)\, d\mathcal{L}^1(s).
\end{align*}
Now, $|x-y|\,|\nabla u(y + t(x-y))| = s\,|\nabla u(x + \rho\omega)|$, with $s$ ranging from $\rho/(1) = \rho$ (when $t = 0$, $\rho = s$, but on integration over $t \in [0,1]$ for fixed $s$, $\rho \in [0, s]$) — alternatively, fix $\rho$ and note that $s$ ranges over $[\rho, R(x,\omega)]$ where $R(x, \omega)$ is the distance from $x$ to $\partial B(0,1)$ in direction $\omega$, which is at most $2$. So
\begin{align*}
\int_0^1 |x-y|\,|\nabla u(y + t(x-y))|\, d\mathcal{L}^1(t)\, d\mathcal{L}^n(y) \stackrel{\text{(over $y \in B$)}}{=} \int_{S^{n-1}}\int_0^{R(x,\omega)}\int_0^s s\,|\nabla u(x + \rho\omega)|\frac{d\mathcal{L}^1(\rho)\, s^{n-1}\, d\mathcal{L}^1(s)}{s}\, d\mathcal{H}^{n-1}(\omega).
\end{align*}
Simplify the inner factor: $s \cdot s^{n-1}/s = s^{n-1}$, so the integrand becomes $s^{n-1}|\nabla u(x + \rho\omega)|$. Integrating $s$ over $[\rho, R(x,\omega)] \subset [\rho, 2]$,
\begin{align*}
\int_\rho^{R(x,\omega)} s^{n-1}\, d\mathcal{L}^1(s) = \frac{R(x,\omega)^n - \rho^n}{n} \le \frac{2^n}{n}.
\end{align*}
Therefore
\begin{align*}
\fint_{B(0,1)}\int_0^1 |x-y|\,|\nabla u(y+t(x-y))|\, d\mathcal{L}^1(t)\, d\mathcal{L}^n(y) \le \frac{1}{\alpha_n}\cdot \frac{2^n}{n}\int_{S^{n-1}}\int_0^2 |\nabla u(x + \rho\omega)|\, d\mathcal{L}^1(\rho)\, d\mathcal{H}^{n-1}(\omega).
\end{align*}
Reverting to Cartesian coordinates $z = x + \rho\omega$, with $d\mathcal{L}^n(z) = \rho^{n-1}\, d\mathcal{L}^1(\rho)\, d\mathcal{H}^{n-1}(\omega)$,
\begin{align*}
\int_{S^{n-1}}\int_0^2 |\nabla u(x+\rho\omega)|\, d\mathcal{L}^1(\rho)\, d\mathcal{H}^{n-1}(\omega) = \int_{B(x, 2)}\frac{|\nabla u(z)|}{|z - x|^{n-1}}\, d\mathcal{L}^n(z).
\end{align*}
The integration domain $B(x, 2)$ contains $B(0,1)$ (since $|x| < 1$). We extend $\nabla u$ by zero outside $B(0,1)$ to get an integral over all of $\mathbb{R}^n$, or equivalently restrict the kernel to $B(0,1)$:
\begin{align*}
\int_{B(x,2)}\frac{|\nabla u(z)|}{|z-x|^{n-1}}\, d\mathcal{L}^n(z) = \int_{B(0,1)}\frac{|\nabla u(z)|}{|z - x|^{n-1}}\, d\mathcal{L}^n(z) + \int_{B(x,2)\setminus B(0,1)}0\, d\mathcal{L}^n(z) = \int_{B(0,1)}\frac{|\nabla u(z)|}{|z-x|^{n-1}}\, d\mathcal{L}^n(z).
\end{align*}
Putting it all together, for some constant $C_n := 2^n/(n\alpha_n)$ depending only on $n$,
\begin{align*}
|u(x) - u_B| \le C_n \int_{B(0,1)}\frac{|\nabla u(z)|}{|x-z|^{n-1}}\, d\mathcal{L}^n(z) \quad \text{for all } x \in B(0,1).
\end{align*}[/step]