Add solutions for 5-7.