How would I attach rigs into IK ones in Blender?

Heya There!!

I’m trying to attach a rig (Specifically the rig from below) onto a R6IK rig I’ve found in the internet. The issue is that I’m stuck on actually connecting the rig onto the IK one, how would I do it actually?