Can someone help me with this question please?

Bonjour
Your choice is the correct one.
Vous avez parlé au prof ?
Oui, nous lui avons parlé.
lui ► indirect object pronoun singular masc. & feminine.
leur ► indirect object pronoun plural masc. & feminine.
-
☺☺☺