So we know if there are 5 groups/dozens of Monarch butterflies, there are 2 groups/dozens of Queen butterflies. In other words, there are 5 Monarch butterflies for every 2 Queen butterflies.
Then we can turn that into an equation.
![5x = m \\ \\ 2x =q \\ \\ 5x + 2x = m + q](https://img.qammunity.org/2019/formulas/mathematics/high-school/g98n3eczqkcne2cym1nv9l570orz06glr2.png)
From the last equation we wrote we can see that the total number of butterflies in the farm is
![7x](https://img.qammunity.org/2019/formulas/mathematics/college/zokiq4qcco8gwokftdjj824xxp9hynqv44.png)
.
When we compare the Queen butterflies to total butterflies, we get
![(q)/(m + q) = (2x)/(5x + 2x) = (2x)/(7x) = (2)/(7)](https://img.qammunity.org/2019/formulas/mathematics/high-school/pfrd7o5kgmwevrtwlu7x4n6ad0zrfn5nk9.png)
The ratio of Queen butterflies to total butterflies is 2:7.