Completed Extension problem #1 with comments