Added translation of problem 2