Here is the 2 part question. Given n people are in a straight line what is the probability

A: They are next to eachother

B: They are seperated by exactly one person

For a i worked it out a few ways and it looks like 2/n but im not sure why and part b im kinda lost on how to figure it out.