So with 5 games left, the run-in for top-6 glory looks as follows (matches against each other in bold ) :
Hearts (45 pts): Dons (A), Killie (A), St Mirren (H), Hibs (A), Ross County (H)
Hibs (40 pts): Celtic (A), Well (H), Dundee Utd (A), Hearts (H), St Johnstone (A)
Dons (38 pts): Hearts (H), St Johnstone (A), Killie (H), Ross County (A), Sevco (H)
St Mirren (37 pts): Dundee Utd (A), Livi (H), Hearts (A), Sevco (A), Killie (H)
Livi (36 pts): Ross County (H), St Mirren (A), Well (A), St Johnstone (H), Dundee Utd (A)
With the St Mirren - Livi game meaning guaranteed dropped points by one or both of them, my dubious maths makes it that we "only" need to win 4 games out of 5 to make top-6.