Anonymous functions with multiple body

Thank you guys! Now i understand everything! And Thank you for Your time