Considering the stretch “… and behind the machine there’s a guy with a printing press who makes the money and sticks it out this slot”, the pronouns “who” and “it” refer to, respectively:
Resolução passo a passo com explicação detalhada desta questão...