Let $f_{X}(x)$ be the probability density function of the continuous random variable $X$. Suppose that the function $g:\mathbb{R}\rightarrow\mathbb{R}$ is differentiable and monotonic and define a new random variable $Y$, s.t. $X = g(Y)$. The corresponding probability density function for $Y$ is then given by \begin{align} f_{Y}(y) = f_{X}(g(y))\left|g^{\prime}(y)\right|. \end{align}
Let $\hat{y}$ be a mode of $f_{Y}(y)$. Show that $g(\hat{y})$ is not necessarily a mode of $f_{X}(x)$, but is a mode of $f_{X}(x)$ if $g$ is linear.
Additional assumptions may be added as needed, e.g. differentiability, unimodality, concavity etc, to simplify the proof.
This comes from Bishop, Pattern Recognition And Machine Learning, 2006:

There is also an assosiated exercise that goes with this paragraph:

What I want to do is to make the statement more formal/rigorous.