solve lab3