Could anyone help me to understand that how the solution of $(1)$ is written as in $(2)$?
I know that $\dot x=Ax+Bu$ is $x(t)=e^{At}x(0)+\int_{0}^{t} e^{A(t-s)} Bu(s)ds$
Edit: After the pauls answer: Here I will have solutions in each subintervals as follows?
$x(t)=e^{A_{i_0}t}x(t_0)+\int_{t_0}^{t} e^{A_{i_0}(t-s)} B_{i_0}u_{i_0}(s)ds$
$x(t)=e^{A_{i_1}t}x(t_1)+\int_{t_1}^{t} e^{A_{i_1}(t-s)} B_{i_1}u_{i_1}(s)ds$
$x(t)=e^{A_{i_2}t}x(t_2)+\int_{t_2}^{t} e^{A_{i_2}(t-s)} B_{i_2}u_{i_2}(s)ds$
$\vdots$
$x(t)=e^{A_{i_s}t}x(t_s)+\int_{t_s}^{t} e^{A_{i_s}(t-s)} B_{i_s}u_{i_s}(s)ds$

It is not surprising you were confused by this. The text can't seem to follow a consistent symbolism, changing how things are denoted constantly, and explaining the changes only after using the new symbols are used.
What we have is (introduced in what I hope is a more clear order):
If we just look at a single partition interval, the solution is $$x(t) = e^{A_{i_k}(t-t_k)}V_k + \int_{t_k}^te^{A_{i_k}(t-\tau)}U_{i_k}(\tau)\,d\tau$$ for some constant vector $V_k$ (my notation, not his). Based on criteria I do not find in this snippet of text, apparently the constant vector $V_k$ is given by $$V_k = Q_k\left(e^{A_{i_0}(t_1-t_0)}x_0 + \int_{t_0}^{t_1}e^{A_{i_0}(t_1-\tau)}U_{i_0}(\tau)\,d\tau\right) + ...$$where$$Q_k = e^{A_{i_{k-1}}(t_k-t_{k-1})}...e^{A_{i_1}(t_2-t_1)}$$ Presumably, $x_0 = x(t_0)$, but it is unclear to me what the "$...$" in the expression for $V_k$ entails. Since this constant value is deduced from information not given in the snippet, I have no way of determining it.