Answer: There are 7 parakeets and 3 canaries in each cage.
Explanation:
Since we have given that
Number of parakeets = 42
Number of canaries = 18
According to question, he wants to use as few as cages as possible , but can only have one type of bird in each cage.
So, H.C.F. of 42 and 18 = 6
So, Number of cages would be 6.
Number of parakeets would be

Number of canaries would be

Hence, there are 7 parakeets and 3 canaries in each cage.