Complete step 1 for Homework 4 (copy'n'paste solution from Homework 3)