OR maybe this was the question
$$f(x)=3x+\frac{3}{x}=\frac{3x^2+3}{x}\\\\
f(x+h)=3(x+h)+\frac{3}{x+h}\\\\
f(x+h)-f(x)=3x+3h+\frac{3}{x+h}-3x-\frac{3}{x}\\\\
f(x+h)-f(x)=3h+\frac{3}{x+h}-\frac{3}{x}\\\\
f(x+h)-f(x)=\frac{3h(x+h)x+3x-3(x+h)}{x(x+h)}\\\\
f(x+h)-f(x)=\frac{3h(x+h)x-3h}{x(x+h)}\\\\
\left[f(x+h)-f(x)\right]\div h=\frac{3(x+h)x-3}{x(x+h)}\\\\$$
Now taking it the extra logical step
$$\left[f(x+h)-f(x)\right]\div h=\frac{3(x+h)x-3}{x(x+h)}\\\\$$
limit as h tends to 0 = $$\frac{3x^2-3}{x^2}$$
Now, if I didn't make any mistakes this is the derivative of the original equation. And it is! 


NOW can someone tell me how to write limit as h tends to 0 in latex please?