If x is the only thing in the denominator, then,
[tex]f(x) = \frac{1}{x}+2\\\\f(3+h) = \frac{1}{3+h}+2\\\\f(3+h) = \frac{1}{3+h}+2\left(\frac{3+h}{3+h}\right)\\\\f(3+h) = \frac{1+2(3+h)}{3+h}\\\\f(3+h) = \frac{1+6+2h}{3+h}\\\\f(3+h) = \frac{7+2h}{3+h}\\\\[/tex]
We replace every copy of x with 3+h, as shown in the second step. Afterwards, we can optionally simplify to form one big fraction.
---------------------------------------------------------------------------
Or if the "x+2" is in the denominator, then we have these steps:
[tex]f(x) = \frac{1}{x+2}\\\\f(3+h) = \frac{1}{3+h+2}\\\\f(3+h) = \frac{1}{h+5}\\\\[/tex]