Let A be the number of ants and B be the number of beetles. It is given that ¾ of the number of ants was equal to ⅓ of the number of beetles.
So, we can write,
Now, let A=4x and B=9x, where x is a constant.
There was a total of 442 ants and beetles. So,
A+B=442.
Hence, we can write
Since the number of ants is 4x, we can write
Therefore, the number of ants is 136.