domain of exponential function from y axis & logarithmic function from x axis?