• names() and connected(name)

Question related to mission Friends

 

Hi, guys! I will be very appreciate for a little help with name() and conneced(). I've benn thinking for a while already, but don't know where to start.