The temperature on the surface detected by the scientist is 40 degrees.
The magnitude of the temperature change as height increases is - 3 degrees.
Assuming,

Further,

Therefore the required equation relating H with T is calculated as,

For the graphical representation,
Consider H on the x axis and T on Y axis.