changed notation in Prob 7 solution to make it consistent with problem statement