f(x)=a^x

g(x)=log_a x

x=y

a = 5 (slider from -5 to 5, step 0.1)
f(x) = a^x
g(x) = log(x) / log(a)
h(x) = x