How the complex maths works for third-placed teams to go through | Sportra