solve ax^lna = bx^lnb