Complete second homework