If the image of functions g (x) and f (x) = - 2x + 1 is symmetric with respect to y = x, then G (x)=___ Ask for detailed explanation

If the image of functions g (x) and f (x) = - 2x + 1 is symmetric with respect to y = x, then G (x)=___ Ask for detailed explanation

On the symmetry of the line y = x, it is shown that G (x) and f (x) are reciprocal functions
By: y = - 2x + 1
The result is: 2x = 1-y
x=(1-y)/2
The inverse function is y = (1-x) / 2
So: G (x) = (1-x) / 2