Instruct: What was the score of the game where Montreal was the home team and the Devils had a record of 40–24–6?
Output: SELECT Score FROM table WHERE Home = montreal AND Record = 40–24–6