Convert to Logarithmic Form q^t=x