We have to show that the function $f(x)=x^3+3x$ is continuous at $a = 2$. By showing this it also means that that's the function's limit.
$$f(a)=L$$
$$|x-2|<\delta$$ $$x\in(\delta-2,\delta+2)$$ $$|x^3+3x-2^3-3*2|<\epsilon$$ $$|(x-2)(x^2+2x+6)-2|<\epsilon$$ $$|(x-2)(x^2+2x+6)-2|< |(x-2)|(x^2+2x+6)+|-2|<\epsilon$$ $$|x-2|<\frac{\epsilon-|-2|}{|x^2+2x+6|}=\delta$$ So then we can remove the absolute signs and get:
$$\delta = \frac{\epsilon-2}{|x^2+2x+6|}$$
End of proof. Is my proof correct? How would you make it better ? Is there one more step ? Do I need to show for $x<2$ and $x>2$ or is that already said in my proof?