Answer :
[tex] x-\ botlle\ A\\y-\ bottle\ B\\\\ \left \{ {{x+y=84} \atop {6,5x+8,25y=588}} \right. \\\\ \left \{ {{x=84-y} \atop {6,5x+8,25y=588}} \right. \\\\Substitution\ method\\\\
6,5(84-y)+8,25y=588\\\\
546-6,5y+8,25y=588\ \ \ | subtract\ 546
1,75y=42\ \ \| divide\ by\ 1,75\\\\y=24\\\\There\ were\ 24\ bottles\ B\ and\ 42\ bottle\ A.[/tex]