True or False? Given any set $X$ and given any function $f:X\rightarrow X$ , $g:X\rightarrow X$ and $h:X\rightarrow X$, if $h$ is one-to-one function and $f(h(x))= g(h(x))$, then $f=g$. Justify your answer.
I know that this is false as $f$ and $g$ may not be injective and hence $f$ not equals to $g$ But how do I prove it more rigorously ? Like what counterexamples can I give ?