solution to homework 7 for statistics and probability i spring 2022 328470