[step:Define the straight-line homotopy $H$ and verify it lands in $|L|$]Define the map
\begin{align*}
H: |K| \times [0, 1] &\to |L| \\
(x, t) &\mapsto (1 - t) f(x) + t\, |g|(x),
\end{align*}
where the convex combination is formed in the ambient Euclidean space in which $|L|$ sits. Since $f$ and $|g|$ are continuous (the latter by the [Geometric Realization of Simplicial Maps](/theorems/1913)) and the convex combination is continuous in $(x, t)$, the map $H$ is continuous as a map into Euclidean space.
We verify the codomain: $H(x, t) \in |L|$ for all $(x, t) \in |K| \times [0, 1]$. Fix $x \in |K|$. By the [Unique Interior Simplex](/theorems/1914) theorem applied in $L$, $f(x)$ lies in the interior of a unique simplex $\tau \in L$. We claim $|g|(x) \in \tau$ as well.
Indeed, by the [Unique Interior Simplex](/theorems/1914) theorem applied in $K$, $x$ lies in the interior of a unique simplex $\sigma = \langle a_0, \ldots, a_n \rangle \in K$. Write $x = \sum_{i=0}^n t_i a_i$ with $t_i > 0$ and $\sum t_i = 1$. By the [Geometric Realization of Simplicial Maps](/theorems/1913),
\begin{align*}
|g|(x) = \sum_{i=0}^n t_i\, g(a_i).
\end{align*}
From Step 1 applied to the simplex $\sigma$, every $g(a_i)$ is a vertex of $\tau$. Hence $|g|(x)$ is a convex combination of vertices of $\tau$ and therefore lies in $\tau$ (the convex hull of its vertices).
We now have $f(x), |g|(x) \in \tau$. Since $\tau$ is a simplex in Euclidean space, it is a convex set. The convex combination
\begin{align*}
H(x, t) = (1 - t) f(x) + t\, |g|(x)
\end{align*}
therefore lies in $\tau \subseteq |L|$ for every $t \in [0, 1]$.
At the endpoints, $H(x, 0) = f(x)$ and $H(x, 1) = |g|(x)$, so $H$ is a homotopy from $f$ to $|g|$. This proves (2).[/step]