Source: https://www.math.ucla.edu/~wconley/110a.1.101/Homework 1 - Solutions.pdf