Excluding the two specified people, 4 others can be selected in 5C4 ways.
The two adjacent seats can be taken in 4 ways and the two specified people can be arranged between themselves in 2! ways, remaining 4people can be arranged in 4! ways.
⇒ 5C4⋅4⋅(2!)⋅(4!)=8(5!)