Add problem 2 to Lab 6.2