Step 1: Test the options by differentiating.
If \(F(x)\) is an antiderivative of \(x+2\), then \(F'(x)\) must equal \(x+2\) exactly. So we can check each option by taking its derivative.
Step 2: Differentiate option (1).
For $(x+2)^3 + k$ the chain rule gives $3(x+2)^2$. This is a quadratic in $x$, not $x+2$. Option (1) fails.
Step 3: Differentiate option (2).
For $\frac{x^2}{2} + k$ the derivative is $x$. The constant $2$ is missing, so option (2) fails.
Step 4: Differentiate option (3).
For $\frac{x^2}{2} + 2x + k$ the derivative is $\frac{2x}{2} + 2 + 0 = x + 2$. This matches the integrand.
Step 5: Differentiate option (4).
For $\log(x+2) + k$ the derivative is $\frac{1}{x+2}$. That is not $x+2$, so option (4) fails.
Step 6: Confirm by direct integration.
Write $x + 2 = x^1 + 2x^0$. Raise each power by one and divide by the new power: $\frac{x^2}{2} + \frac{2x^1}{1}$. Adding the constant of integration gives the same result as option (3).
Final Answer:
Only option (3) has derivative $x+2$.
\[ \boxed{\frac{x^{2}}{2}+2x+k} \]