[guided]The transformed section changes for two independent reasons. First, $s(x)$ changes inside $P$ as $x$ moves in $U$. Second, the group element $h(x)$ also changes. We separate these two effects at the level of tangent vectors.
For the fixed point $x \in U$ and tangent vector $v \in T_xU$, set
\begin{align*}
p=s(x), \qquad g=h(x), \qquad \xi=ds_x(v), \qquad \eta=dh_x(v).
\end{align*}
The action map is $\rho:P\times G\to P$, with $\rho(p,g)=p\cdot g$. Holding $g$ fixed gives the right translation map $R_g:P\to P$, defined by $R_g(q)=q\cdot g$, and holding $p$ fixed gives the orbit map $\rho_p:G\to P$, defined by $\rho_p(a)=p\cdot a$. The canonical tangent-space identification $T_{(p,g)}(P\times G)=T_pP\times T_gG$ lets us regard $(\xi,\eta)$ as the sum of $(\xi,0)$ and $(0,\eta)$. By linearity of $d\rho_{(p,g)}$, its value on $(\xi,\eta)$ is therefore the sum of the two partial contributions:
\begin{align*}
d\rho_{(p,g)}(\xi,\eta)=d(R_g)_p(\xi)+d(\rho_p)_g(\eta).
\end{align*}
Since $s'=\rho\circ(s,h)$, we obtain
\begin{align*}
A'_x(v)=\omega_{p\cdot g}\bigl(d(R_g)_p(\xi)\bigr)+\omega_{p\cdot g}\bigl(d(\rho_p)_g(\eta)\bigr).
\end{align*}
This is the basic decomposition: the first term is the transported old connection form, and the second term is the purely vertical correction produced by the gauge function.[/guided]