If $\displaystyle log_k x, log_m x , log_nx$ are in A.P then prove that $\displaystyle n^2 = (kn)^{log_km}$

If the terms are in A.P then : $\displaystyle 2 log_mx = log_k x + log_nx = \frac{2}{log_xm} = \frac{1}{log_xk}+ \frac{1}{log_xn}$

=$\displaystyle \frac{2}{log_xm}= \frac{log_xn+log_xk}{log_xklog_xn}$ can we solve this way or not..............please guide