Question 3Divide a triangular garden $ABC$, whose three sides have different lengths, by a segment $AM$ so that the ratio of the areas of triangles $ABM$ and $ACM$ equals the ratio of their corresponding perimeters.