maths for beers