solution for exam two 1776717