Done alge. Problem 2 written.