solutions for next 5 exercises