question: What was the score of the game where Montreal was the home team and the Devils had a record of 40–24–6?
answer: SELECT score FROM table_name_91 WHERE home = "montreal" AND record = "40–24–6"
context: CREATE TABLE table_name_91 (score VARCHAR, home VARCHAR, record VARCHAR)