Ultrasonic Sensor and LCD Display code help needed !!

ok.. how would you go about doing that... i do not know much about electronics.. i study economics but have to get the work
done for someone in my group who doesnt turn up... hes supposed to be the engineer..

can you please help me with modifying the second sketch.