Explanation:

Let solve for the variable x.





Swap x and y, Replace y with g inverse.

The argument inside the logarithm will be

The argument will first cause a horizontal shift d units to the left or right to the graph, then the graph would then cause a horizontal stretch by some factor a