The number "2" changes its form according to the gender of the noun.
Duo viri; duo pueri = Two men; two boys. Duae feminae; duae filiae = Two women; two girls.
This is similar to Portuguese: Dois homens; dois meninos = Two men; two boys. Duas mulheres; duas meninas = Two women; two girls.