Solutions to 2nd week problems (2.4 and 2.5)

2.6 is not done yet,
as well as 3.* problems