from range -5 - +5 to range 0-5
With -5 volts on the input, the output must be 0 volts. With +5 volts inputted the output must be +5 volts and there's nothing non-linear in between those two limits to upset things.