The two Houses perform different constitutional functions, and their composition determines not only how legislation is scrutinised and passed but also how states are represented.