Breaking down the electoral math