Which equation does this story match: The temperature is -7. Since midnight the temperature tripled and then rose 5 degrees. What was the temperature at midnight?

5x - 7=3

7=3(5+ x)

3x + 5 = -7

13 (x+ 7) = 5