My attempt or more of a hint:
for n=2 and 3 the proof is trivial.
n=2:
persons A, B both are friends and hence statement is true.
n=3:
persons A, B, C. Let AC,BC be pairs of friends. Clearly: A, B, C, A is a solution.
Let it be true for n=k-1 and n=k.
When we add the (K+1) person, take a pair of that person's friends (say, $p_m$, $p_{m+1}$) and let $p_{k+1}$ be in their middle. By induction, $p_m$ and $p_{m+1}$ were already seated next to their friends, so:
- $p_m$ and $p_{m+1}$ are friends
- $p_m$ and $p_{m-1}$ are friends
- $p_{m+1}$ and $p_{m+2}$ are friends
With the new configuration after placing $p_{k+1}$ between $p_m$ and $p_{m+1}$, all the three have two friends, 1 on each side:
- $p_m$ has $p_{m-1}$ and $p_{k+1}$
- $p_{k+1}$ has $p_m$ and $p_{m+1}$
- $p_{m+1}$ has $p_{m+2}$ and $p_{k+1}$
[Edit]
to prove that $p_m$ and $p_{m+1}$ can be found (that is two people friends of each other and also of $p_{k+1}$: assume them ($p_m$ and $p_{m+1}$) as one person and then by induction, since the statement is true for n=k-1, we have proved that two such people can be found.