Solution for step 2.

The solution for step 2.