In how many ways can 4 boys, including John and Matthew, and 4 girls, including Sally, be arranged in a line if Matthew is between, but not necessarily adjacent to John and Sally?
The solution in the back of the book:
"The total number of ways to sit 8 people if John, Matthew and Sally stay in...