Homework completed.

How would you combine the above two lines into one?