Answer: There are 48 butterflies altogether.
Step-by-step explanation:
Since we have given that
The ratio of number of pink butterflies to the number of yellow butterflies is 3:5
So,
Let the number of pink butterflies be 3x
Let the number of yellow butterflies be 5x
As we have given that there are 18 pink butterflies,
So,
[tex]3x=18\\\\x=\frac{18}{3}\\\\x=6[/tex]
So, total number of butterflies is given by
[tex]5x+3x=8x\\\\8x=8\times 6=48[/tex]
Hence, there are 48 butterflies altogether.