Synchronization of two coupled systems