Bonjour
le passé composé avec "avoir"
The past participles with "avoir" NEVER agree with the subject.
They always are <em>invariables</em>
EXCEPT
when the direct object is before the verb, then the past participle will agree with it, even if it's a direct object<em> pronoun.</em>
But ONLY if the direct object is BEFORE the verb
<em>example =</em>
Ils ont mangé de la tarte. <em>(the past participle doesn't agree)</em>
<u>La tarte</u> qu'ils ont mangée -> <em>the past participle agrees with "tarte" (fem. sing)</em>
<em>OR with a direct pronoun</em>
Ils <u>l'</u>ont mangée --> agrees with l' <em>( = la tarte)</em>
<em>Another one</em>
J'ai rencontré tes amis. <em>(I met your friends)</em>
<u>Tes amis</u> que j'ai rencontrés. <em>(agree with the direct object "tes amis</em><em> </em><em>because it's before the verb)</em>
<em>OR</em>
Je <u>les</u> ai rencontrés. <em>(agree with "les" direct object pronoun")</em>
Do you understand better ??? really hope this help ...
Ask me if you need any further explanations
☺☺☺