How to make ubuntu software and apt-get work with proxy?

My college provides ethernet lan to all the students. We have to use a proxy address to be able to access the internet but Ubuntu software and apt-get update doesnt work. sudo apt-get update gives the following output sudo apt-get update output

How do I fix this issue?