Harry and William had the same amount of orange juice. They filled identical bottles with the orange juice. Harry filled 25 bottles to the brim and had 5.8 litres of orange juice left. William needed another 5.36 litres of orange juice to fill up 37 bottles to the brim.

(a) What was the capacity of each bottle? Give your answers in litres.
(b) How many litres of orange juice did Harry and William have altogether?

(a) 25x+5.8 = 37x-5.36

(b) use x from (a)