If $$f\left(\dfrac{x+1}{x}\right) = \dfrac{x^2+1}{x^2} + \dfrac{1}{x}$$, then which is the following is a possible representation of $$f(x)$$?