How do you calculate what the voltage will be after a resistor?

XD