Solve for a y=a(b)^x