$$\textrm{Sean }f,g,h\textrm{ aplicaciones y }A, B, C\textrm{ subconjuntos de }X,\textrm{ tal que f: }A\longrightarrow{B}, g:B\longrightarrow{C}\textrm{ y h: }C \longrightarrow{D.}\\
g\circ{f}\textrm{ y }h\circ{g}\textrm{ ambas composiciones inyectivas}\Longleftrightarrow{f,g,h\textrm{ aplicaciones biyectivas.}}$$
$$\textrm{La demostración a la equivalencia desde la izquierda sería:}\\
f,g\textrm{ aplicaciones biyectivas}\Longrightarrow{g\circ{f}\textrm{ biyectiva}\Longrightarrow{g\circ{f\textrm{ inyectiva.}}}}\\
g,h\textrm{ aplicaciones biyectivas}\Longrightarrow{h\circ{g}\textrm{ biyectiva}\Longrightarrow{h\circ{g\textrm{ inyectiva.}}}}$$
$$\textrm{Mi problema viene al intentar probar la equivalencia desde la derecha:}\\
g\circ{f}\textrm{ inyectiva}\Longrightarrow{f,g\textrm{ inyectivas}}\\
h\circ{g}\textrm{ inyectiva}\Longrightarrow{g,h\textrm{ inyectivas}}\\
\textrm{Pero me queda probar que }f,g,h\textrm{ son sobreyectivas y no se me ocurre cómo}$$