First gets brainliest

Answer:
11
Step-by-step explanation:
You have to convert the sentence to an equation. 17 degrees is equal to 5 degrees less than twice the temperature it was six hours ago. Solve for x.
17 = 2x - 5
22 = 2x
x = 11
It was 11 degrees six hours ago.