Internal combustion engine next to an electric motor