We know that for any value of $x$ other than $0$, $a^x\ne e^x$ where $a>e, a\in R^+$ but we do know that for some value of $p$, $$pa^x=e^x\ldots(1)$$
you see $p$ is a positive number because of the above assumption. we all know that $$\frac{\operatorname{d}e^x}{dx}=e^x, \frac{\operatorname{d}a^x}{dx}=a^x\times \log_e a$$
so using above known things, i am going to differentiate equation $(1)$ with respect to $x$
$$\frac{\operatorname d \left(pa^x\right)}{dx}=\frac{\operatorname de^x}{dx}\implies pa^x\ln a = e^x\ldots(2)$$ Note that $p$ is a number and i am talking at a particular value of $x$.
Now from (1) and (2) we can say that $$pa^x=pa^x\ln a\implies a=e,$$
but earlier it was taken that $a>e$ but this turn out to be $a=e$.
But you see at a particular value of $x$ which could be any number, $a$ will comes equal to $e$.
So, what should i conclude from the above?