Both مَرِضْتُمَا and فَرِحْتُمَا correspond to أَنْتُمَا, although one addresses two men and the other two women.

The Verbal Sentence and Its Pronominal Doer