Assignment 6 solutions