solve lab2_2