To unlock the x best friends achievement in Little Nightmares 2 you'll need to hold Six's hand behind the xray machine you can find during Chapter 3 (The hospital chapter). Here is my own video guide that shows how to get this achievement along with all of the other collectibles/achievements that Little Nightmares 2 has to offer. The X Best Friends achievement guide appears at around the 13:48 mark during the video.