Consider two congruent triangles ABC and A1B1C1. We draw a point M on the side BC and a point M1 on the side B1C1 such that the ratio of lengths BM:MC is equal to the ratio of lengths B1M1:M1C1. Prove that AM=A1M1.