It looks like you are begining calculus.

the gradient of any graph y=x^a is a*x^(a-1)

if this is true you can anser what is the gradient of y=x^(-1)

[x^a is the same as x raised to the power of a]

You should also try to come up with a rule for finding the function given the gradient.