Evaluate g(n-5) if g(x)=x^2-6/2x

Answer: We want to evaluate g(x) in x = n -5, where g(x) = (x^2-6)/2x
then, doing it step by step: [tex]g( n- 5)= \frac{(n-5)^{2} - 6 }{2*(n-5)}= \frac{(n^{2} - 2*5*n + 25) - 6 }{2n - 10} = \frac{n^{2} - 10n + 19 }{2n - 10}[/tex]
where i used that (a - b)^2 = a^2 -2ab + b^2
So the correct option is C.