How to reverse engineer a logarithmic equation
You can determine the most likely values for $\log x$ and $\log y$ by linear regression since your relationship implies:
$\log a = b.\log y + \log x$
So run regression on $b$ as input and $\log a$ as output. The gradient will be $\log y$ and the intercept $\log x$