brie.py calculates heights of equal pieces of a triangle given its base and height. First height is for triangle, and all the rest are for trapeze going from the top to the base of a triangle. Run it as the following:
python brie.py -a 5 -b 10 -n 6