Assuming that a and b are unknown constants to be determined ?
For the first relationship, take logs
and then divide by (you could also divide by , that would lead to an alternative equation),
Then construct the new variables and
That will give you the straight line which has a slope of and an intercept of
You can do a similar thing with the second example.