To prove that the problem is NP-complete we have to prove two things.
Firstly, we need to prove that the problem lies in NP.
Proof: To prove that the problem lies in NP we need to prove that given a certificate for the problem we can verify in polynomial time if the certificate is correct or not. So given a chain of k nodes we need to check if xi knows x(i+1) for all 0<=i<k.
We can do this by traversing each of the nodes in the list and checking in the adjacency matrix of the graph is the xi and x(i+1) nodes are adjacent to each other. This can be done in polynomial time, to be precise in O(k).
Secondly, we need to prove that all problems in NP can be reduced to this problem.
To prove this we show that Hamiltonian Path can be reduced to the above problem.
We prove by the method of contradiction. Let's assume that the above problem lies in P.
Then we can find if a chain of length k exists in a graph in time t.
Let's assume that there are n nodes in the graph. Then we can find in polynomial time if there exists a chain of length n.
Which is exactly a hamiltonian path in the graph.
So If we can solve the above problem in P then Hamiltonian path problem can also be solved in P.
Which is a contradiction. Therefore The above problem must also lie in NP.