Just out of curiosity, can't this be done using discrete chips alone?

if input increases then output volt which is 5 volt dc should decrease with 1:1 relation but reverse order
I've only dabbled with gates, transistors and amplifiers; but can't they do this very well?

Robert