This is a slight variation on Steven Gubkin's suggestion, incorporating David Z's suggestion in his comment on that answer.
Suggest to the students that whenever they encounter a complicated nexted function, they explicitly write it as a chain of several simpler functions, e.g.:
$$y=u^3$$
$$u=\tan(v)$$
$$v=\sqrt{w}$$
$$w=x^2+x+1$$
Then the chain rule says simply that the derivative of the first variable $y$ with respect to the last variable $x$ is the product of the derivaives of all of the individual links in the chain:
$$\frac{dy}{dx}=\frac{dy}{du} \cdot \frac{du}{dv}\cdot \frac{dv}{dw}\cdot \frac{dw}{dx}$$
So
$$\frac{dy}{dx} = 3u^2 \cdot \sec^2(v) \cdot \frac{1}{2\sqrt{w}} \cdot (2x+1)$$
and the problem can be completed by back-substituting in the expressions for each of the variables in terms of the simpler ones.