Hamiltonization of connected systems - Galiullin, A. S.