In how many ways can 8 people be seated in a row of chairs if three of the people, John, Wilma and Paul, want to sit in three consecutive seats, with Wilma in the middle?

The three people can occupy 6 different positions in the row

There are 2 ways to arrange them J W M or M W J

And for each of these the other five people can be arranged in 5! =120 ways

So

6 * 2 * 120 = 1440 ways