$X,Y$ are topological spaces and $CY=Y\times[0,1]/(x,1)\tilde{}(y,1)$ for all $x,y\in Y$ the cone of $Y$. In order for $f,g$ to be homotopic I have to find a homotopy $H(x,t):X\times [0,1] \rightarrow CY$ with $H(x,0)=f(x)$ and $H(x,1)=g(x)$.
Since $H$ is a map to the cone doesn't $H(x,1)$ has to be constant? If yes, how can I go on? Thanks for your help.