Data and solution for problem 1