solutions for midterm one version a 3426865