This concept which I'm discussing in this question is common in O-Level E-Maths Paper 1.
Just pay attention that we're using difference in temperatures compared to height of mountain.
General knowledge: As we ascend the mountain, the temperature drops. In other words, the higher you're on a mountain, the colder it gets.
I hope you find the step by step solution easy to understand.