A question linking to this question was closed as duplicate when the asker wanted to use the cauchy riemann equations. I will include a proof now showing that functions which obey the cauchy riemann equations are closed under composition.
So suppose we have two functions $f,g : \mathbb{R}^2 \rightarrow \mathbb{R}^2$ Which we can described explicitly in terms of their "x" and "y" parts as:
$$ f = \left( f_u(x,y), f_v(x,y) \right) $$
$$ g = \left( g_u(x,y), g_v(x,y) \right) $$
The cauchy rieman equations for any such 2 variable to 2 ouput function as $u(x,y)$ and $v(x,y)$ is
$$ \frac{\partial u}{\partial x} = \frac{\partial v}{\partial y} \\ \frac{\partial u}{\partial y} = - \frac{\partial v}{\partial x}$$
So now we want to verify that $ h = g \circ f$ obeys the cauchy riemann equations IF $f$ and $g$ both obey the equations. For convenience we will break up $h$ into two parts $h_u, h_v$ such that
$$ h_u = g_u(f_u(x,y), f_v(x,y)) $$
$$ h_v = g_v(f_u(x,y), f_v(x,y)) $$
So our goal is to show that
$$ \frac{\partial h_u}{\partial x} = \frac{\partial h_v}{\partial y} \\ \frac{\partial h_u}{\partial y} = - \frac{\partial h_v}{\partial x}$$
So now we get ready to pull out that rusty chain rule and get to work. Let's start with the first part of the Cauchy Riemann Equations
$$ \frac{\partial h_u}{\partial x} = \frac{\partial}{\partial x} \left[ g_u(f_u(x,y), f_v(x,y)) \right] = \frac{\partial g_u}{\partial f_u} \frac{\partial f_u}{\partial x} + \frac{\partial g_u}{\partial f_v} \frac{\partial f_v}{\partial x} $$
$$ \frac{\partial h_v}{\partial y} = \frac{\partial}{\partial x} \left[ g_v(f_u(x,y), f_v(x,y)) \right] = \frac{\partial g_v}{\partial f_u} \frac{\partial f_u}{\partial y} + \frac{\partial g_v}{\partial f_v} \frac{\partial f_v}{\partial y} $$
Since $f,g$ both the cauchy riemann equations it must be that
$$ \frac{\partial g_u}{\partial f_u} = \frac{\partial g_v}{\partial f_v}$$
and
$$ \frac{\partial f_u}{\partial x} = \frac{\partial f_v}{\partial y} $$
So then we conclude that these two parts are equal:
$$
\color{red}{\frac{\partial g_u}{\partial f_u} \frac{\partial f_u}{\partial x}} + \frac{\partial g_u}{\partial f_v} \frac{\partial f_v}{\partial x} \\
\frac{\partial g_v}{\partial f_u} \frac{\partial f_u}{\partial y} + \color{red}{\frac{\partial g_v}{\partial f_v} \frac{\partial f_v}{\partial y}}$$
Now the other diagonal is a bit more complicated since
$$ \frac{\partial g_u}{\partial f_v} = -\frac{\partial g_v}{\partial f_u} \\ \frac{\partial f_u}{\partial y} = - \frac{\partial f_v}{\partial x}$$
But when you put those TWO facts together both the minus signs end up cancelling out.
So we have after all this work shown that $h = f \circ g$ obeys ONE of the cauchy riemann equations. The second equation is left as an exercise to the reader ;)