We have the following equation
where,
y is temperature in °C, and
x the height in km.
* temperature change for every km we go up.
therefore, the temperature change for each km we go up from the surface is -7 °C
* temperature on the surface is when x = 0
Then, the answer is 47 °C