In order to find how many male birds there are to female birds, you need to know how to apply the word problem to the given ratio.
The ratio of males to female birds in a bird cage was 5 : 2
Because you are told "males to females", males must be the first number and females must be the second number.
Therefore, for every 5 males there are 2 females.