SELECT "Goodman" FROM table_15985 WHERE "Total" = '31' AND "Horwood" = '7' AND "Result" = 'Safe'
What score did Goodman give to all songs with safe results, which received a 7 from Horwood and have a total score of 31?
CREATE TABLE table_15985 (
    "Week" real,
    "Dance/song" text,
    "Horwood" text,
    "Goodman" text,
    "Dixon" text,
    "Tonioli" text,
    "Total" text,
    "Result" text
)