consider the relationship

y=Ax^-n

and assume that A,n>0. Define Y=log(y) and X=log(x). Find the relationship between Y and X. Explain how you would determine the values of the constants A and n from a plot of Y versus X.

I got as far as Y=logA-nlogx

I don't get how you can graph it

Can anyone help with this question? I would really appreciate it!