Solution for step 1.

The solution for step 1