Finish question3 of lab2