solutions for the third intermediate macroeconomics problem set 321877