Alright, as you know you need a resistor to keep the led from burning up. Calculating the resistor value is the question here. You could find it by using ohm's law but i found a calculator for this

here You need to find out what the specifications for the leds are and put them in the calculator. I found an example of ohm's law that demonstrates what i think you are trying to do

here I hope this makes some sense.