[guided]The natural intermediate space is not an arbitrary vector space: it is the collection of all functionals on $W$ that are produced by fixing the first argument of $B$. Define
\begin{align*}
U := \operatorname{im}(\Phi_B) \subseteq W^*.
\end{align*}
Because $W$ is finite-dimensional over $k$, its [dual space](/page/Dual%20Space) $W^*$ is finite-dimensional, and every subspace of a finite-dimensional vector space is finite-dimensional. Hence $U$ is finite-dimensional. By the definition of the rank of the [bilinear form](/page/Bilinear%20Form),
\begin{align*}
\dim_k U = \dim_k \operatorname{im}(\Phi_B) = \operatorname{rank}(B).
\end{align*}
Now define the map through which $B$ will factor:
\begin{align*}
a: V \to U, \qquad v \mapsto \Phi_B(v).
\end{align*}
This is the corestriction of $\Phi_B$ from codomain $W^*$ to the smaller codomain $\operatorname{im}(\Phi_B)$. The map is well-defined because $\Phi_B(v)$ belongs to $\operatorname{im}(\Phi_B)$ by definition of image. It is $k$-linear because the original map $\Phi_B: V \to W^*$ is $k$-linear, and changing the codomain to the image does not change the formula for the map.
The remaining operation should recover the value of the functional $\Phi_B(v)$ at the vector $w$. Define
\begin{align*}
C: U \times W \to k, \qquad (f,w) \mapsto f(w).
\end{align*}
This is well-defined because every element $f \in U$ is, by construction, an element of $W^*$, hence a $k$-linear functional $f: W \to k$.
We verify bilinearity explicitly. If $f_1,f_2 \in U$, $w_1,w_2 \in W$, and $\lambda \in k$, then linearity in the first variable follows from the vector space operations in $W^*$:
\begin{align*}
C(f_1+\lambda f_2,w_1) = (f_1+\lambda f_2)(w_1) = f_1(w_1)+\lambda f_2(w_1) = C(f_1,w_1)+\lambda C(f_2,w_1).
\end{align*}
Linearity in the second variable follows from the fact that $f_1: W \to k$ is a $k$-linear functional:
\begin{align*}
C(f_1,w_1+\lambda w_2) = f_1(w_1+\lambda w_2) = f_1(w_1)+\lambda f_1(w_2) = C(f_1,w_1)+\lambda C(f_1,w_2).
\end{align*}
Therefore $C$ is $k$-bilinear.
Finally, for every $v \in V$ and $w \in W$, the definitions give
\begin{align*}
C(a(v),w) = C(\Phi_B(v),w) = \Phi_B(v)(w) = B(v,w).
\end{align*}
Thus $B$ factors through $U = \operatorname{im}(\Phi_B)$, and the dimension of this intermediate space is exactly $\operatorname{rank}(B)$.[/guided]