Solutions: ​IP p. 59-61, #45, Challenge #1-3