Use the injective group homomorphism from part (a). If , its image is an integral matrix . Choose a prime number that does not divide one nonzero entry of . The reduction modulo a prime in an integral matrix group homomorphism
then sends to a nonidentity element. Its target is a finite group, so the composite map separates from the identity. Hence is a residually finite group.
Every finitely generated free group is a residually finite group. For , the ping-pong lemma embeds it into , and reduction modulo a prime in an integral matrix group separates each nonidentity element in a finite quotient.