Dear Sarah M., Please consult https://sites.math.rutgers.edu/~zeilberg/Hist21/q7S.pdf for the full solutions. You got 10 points (out of 10). Good job! Best wishes, Dr. Z.