connection of led with dht and code combination
Only thing that gives people problems when combining two simple sketches are "delay" commands. There is just one "delay" so it's perfect.


Create new sketch
Paste everything that's not in a method from the two sketches.
Combine setup methods together by pasting first one and second one below.
Remove duplicated commands like Serial.begin(115200); from the method
Combine loop methods together by pasting first one and second one below.
Move code in loop to make the code visually pleasing (it's called the "smell" of code)


This should not be a big problem with those two particular sketches.
Please ask more precise questions as soon as you will have problems.