Suppose there exists a homotopy $H$ between continuous functions $f,g:X\longrightarrow Y$, where $X,Y$ are non-empty topological spaces. Consider the function $h:X\times [-1,1]\times [0,1]\longrightarrow Y\times[-1,1]$ defined by $h(x,s,t)=(H(x,t),s)$. I want to show that this function is continuous, but I am not sure how to.
I tried to show that such a map is "induced" (and is therefore automatically continuous) by the continuous map $f':X\times [-1,1]\longrightarrow Y\times [-1,1]$ given by $f'(x,t)=(f(x),t)$, under some identification map from $X\times [-1,1]$ to $X\times [-1,1]\times [0,1]$, but I am not sure if such an identification map exists.
Or is there a simpler argument along the lines of "$h$ is continuous because it is defined using $H$, which is continuous because its a homotopy"? I feel this is not sufficient mainly due to the fact that we 'swap' the order of arguments $s$ and $t$ in some way.
Can anyone provide some clarity on this problem? Thanks