A man in a grey suit stands in the House of Commons as those around him applaud.

Prime Minister Justin Trudeau’s government survived a confidence vote this week with the help of the NDP and the Bloc Québécois — but the Liberals will be facing another one soon. Here’s a breakdown of how the major parties would have to align in order to trigger an early election.