  The paper deals with the initial value problem for linear systems of FDEs
with variable coefficients involving Riemann--Liouville and Caputo derivatives.
The technique of the generalized Peano--Baker series is used to obtain the
state-transition matrix. Explicit solutions are derived both in the homogeneous
and inhomogeneous case. The theoretical results are supported by examples.
