Step 1: Common normal method: at \(P=(0,1)\) on \(y=e^x\) the tangent has slope \(e^0=1\), so the normal has slope \(-1\): \(y=1-x\). It meets \(y=\ln x\) at \((1,0)\), where the tangent slope is \(\tfrac1x=1\), so the same line is normal to \(y=\ln x\) too. Hence \((0,1)\) and \((1,0)\) are the closest points and \(a=\sqrt{1+1}=\sqrt2\), \(a^2=2\).
Step 2: Ellipse \(x^2+a^2y^2=25a^2\) with \(a^2=2\): \(\tfrac{x^2}{50}+\tfrac{y^2}{25}=1\), \(e_1=\sqrt{1-\tfrac12}=\tfrac1{\sqrt2}\).
Step 3: Hyperbola \(x^2-2y^2=5\): \(e_2=\sqrt{1+\tfrac{b'^2}{a'^2}}\) with \(a'^2=5,\ b'^2=\tfrac52\): \(e_2=\sqrt{\tfrac32}\).
Step 4: \(b=\dfrac{e_1}{e_2}=\dfrac{1/\sqrt2}{\sqrt{3/2}}=\dfrac1{\sqrt3}\Rightarrow\dfrac1{b^2}=3\).
Step 5: \(a^2+\tfrac1{b^2}=2+3=5\).
Answer: Option (D)