Design and Programming help - 0-10VDC input with 0-5VDC output

Ok that makes sense now that I think about it that way. I see what we are doing with it now.