add solution for section 2.2/2.3/2.4