## Step-by-step explanation

Problem to solve:

Learn how to solve calculus problems step by step online.

$u=\frac{x}{2}+3$

Learn how to solve calculus problems step by step online. Calculate the integral of (x/2+3)^2. We can solve the integral \int\left(\frac{x}{2}+3\right)^2dx by applying integration by substitution method (also called U-Substitution). First, we must identify a section within the integral with a new variable (let's call it u), which when substituted makes the integral easier. We see that \frac{x}{2}+3 it's a good candidate for substitution. Let's define a variable u and assign it to the choosen part. Now, in order to rewrite dx in terms of du, we need to find the derivative of u. We need to calculate du, we can do that by deriving the equation above. Isolate dx in the previous equation. Substituting u and dx in the integral and simplify.