Solve for x y=- log of a*x