Transformations of the mean value of a function

An example to try