How far have you gotten on this?
Hint: The "log(y) and log(x)" act as y and x values. So your line on the graph will be of the form:
$\displaystyle log_{10}(y) = m \cdot \log_{10}(x) + b$, where m and b are the usual slope of the line, and b is the y-intercept.
-Dan