Third question of second assignment