Given $f(\cdot, y)$ is measurable for each $y$, $f(x, \cdot)$ is continuous for each $x$. If $u(t)$ is continuous, how can I show that the function $f:[0,1]\times \mathbb{R} \rightarrow \mathbb{R}$ defined by $f(t, u(t))$ is measurable?
I know the standard way to do this is to show that for each $B\in \mathcal{B}(\mathbb{R})$ we have $$f^{-1}(B) \in \mathcal{B} ([0,1]\times \mathbb{R}).$$
But I am having trouble writing down the pre-image explicitly, could anyone give me a hint. Thank you very much!