First order the two people.
Assume the first of the two people sits in one of the 7 seats.
1 x ....
The second person can now seat in 4 possible seats, not next to him, and not in the seat the first person already occupies, so.
1 x 4 ...
Now there's 5 people remaining, so there's 5! way they can be sorted.
The answer should be then, 1 x 4 x 5! = 480.
EDIT: Answer is the same as Aesytic's above. Do it whatever way you find more logical, or learn both if you can.