my solutions for 3110