i have a question
let $E,F$ and $G$ three sets.
$f:E\rightarrow F$
$g:F\rightarrow G$
$h:G\rightarrow E$
prove that if : $f \circ h\circ g$ and $h \circ g\circ f$ are injectives and $g \circ f\circ h$ is surjective. then $f,g,h$ are bijectives.
i have proved that:
$g$ is injective and surjective.
and $g\circ f$ is injective and surjective.
how i can prove that $f$ and $ h$ are bijectives
please help me with this question