Rule reminder
'Il quale' forms agree with the ANTECEDENT (the noun they refer to): il quale (M.sg), la quale (F.sg), i quali (M.pl), le quali (F.pl). Unlike 'il cui', here you look at the antecedent, not the following noun.
Ho incontrato il direttore, ___ mi ha illustrato il progetto.