Solution to Problem (1) from Notes 2
(Solution courtesy of Erin Flickinger)