B3. Maja designed floral arrangements. If she put 7 flowers in each vase, four flowers would remain, and if she put 8 flowers in each vase, two flowers would be missing. How many vases and how many flowers does Maja have?
B3. Let $x$ be the number of vases. Then the number of flowers is $7 x+4$ and $8 x-2$. We get the equation $7 x+4=8 x-2$, from which it follows that $x=6$. Maja has $6 \mathrm{vases}$ and $7 \cdot 6+4=46$ flowers.