Obtain the matrix in a control system with tandem/cascade representation
Looks like you are trying to find a state-space representation of a transfer function. There are many ways of doing this and there are a few standard methods called canonical realizations. The Wikipedia article on the subject provides a couple such canonical realizations.