Answer:
7 18-inch wreaths
26 22-inch wreaths
Step-by-step explanation:
Let's say the number of 18-inch wreaths is x and the number of 22-inch wreaths is y.
We know that the number of 22-inch wreaths sold was 5 more than 3 times the number of 18-inch wreaths sold. We can write this into the expression as:
y = 5 + 3x
We also know that each 18-inch wreath was $20 and each 22-inch wreath was $25. The total cost was $790, so:
20x + 25y = 790
Now, let's substitute 5 + 3x in for y in the second equation:
20x + 25y = 790
20x + 25(5 + 3x) = 790
20x + 125 + 75x = 790
95x + 125 = 790
95x = 665
x = 7
Plug this value into y = 5 + 3x to find y:
y = 5 + 3x
y = 5 + 3 * 7 = 5 + 21 = 26
So, 7 18-inch wreaths were sold and 26 22-inch wreaths were sold.