Let f(x)= (1/x). Use the limit definition of derivative to find f'(x).

My professor's answer is: -1/x
but I keep getting: -1/x^2

what do I have to do to get that answer?

You do not. You have the correct answer, but make sure you have the question correctly copied.