Adding solution to 3-1