Court jails driver for 5 years and fines teacher for attempt