Stat hw2 task2