How is the gender of فَعَلْتُمَا determined?

Complete Past-Tense Paradigm: Active, Passive, Affirmative and Negative