I am working through Strom's Modern Classical Homotopy Theory, and the end goal of this problem I am on is to show that a cofibration $\iota:A \rightarrow X$, i.e. a map that satisfies the homotopy extension property, is a closed subset inclusion. However, I'm stuck on the step in which you prove that cofibrations are embeddings.
I wanted to show that $\iota$ is injective, but without this map being open or closed, that does not imply it is an embedding. My next thought would be to set up the right homotopy from $A$ and use the extension property, but i've failed to set up the right diagram.
Any help would be much appreciated!