Solution to Homework 2 - University of Texas at Austin