Solve home work problems