MATHCOUNTS Chapter 2026 Target Round (Problem 8)

The MATHCOUNTS Question Writing Committee is meeting to finalize the problems for competition year 2026. They are seated around a circular table where the seat of the committee chair, Greg, has already been determined in advance. The remaining six members must sit such that exactly one of the following pairs of writers must be seated next to each other: Thinula and Matthew, Ryoko and Michelle, or Rachel and Liam. In how many ways can the members be seated around the table?