Source: https://www.math.ucdavis.edu/~hunter/m127b_19/midterm1_sample_questions_solutions.pdf