Controlling Servo and LED with Photoresistor

I'm trying to control both servo and LED at the same time with a photoresistor. I am able to get it to work separately (e.g. servo and photoresistor / LED and photoresistor) but is there a way of combining these two codes? Help with the code would be appreciated.
Thank you.

is there a way of combining these two codes?

Almost certainly.

It is a lot easier to help if you show us what it is you want to combine. Saves a lot of wild guesswork.

Steve