firstly,
if f(x) is defined on R ---->R, how can function be invertible since it is not onto because f(x) can never take negative values and codomain consist of all real numbers...
secondly,
if still you want to calculate f^{-1} using formula than option D is correct,
f(x)=y=x^{2} + 1,
=>f^{-1}= +/-sqrt(x-1)
now subsituting, x=17, f^{-1}= +/-4 and
x=-3, there will be imaginary value wich is not in domain so f^{-1}=Ø