I’m pretty sure you’re right. hope this helps:)
2x+6y=24
Explanation: $2 each meaning it’s 2 times x because we don’t know how many hoots and $6 each meaning it’s also 6 times y and then $24 is our total meaning =24 so your answer is 2x+6y=24
So we are given the following system:

Using the first equation again we get: