5. Point $M$ divides the diagonal $A C$ of square $A B C D$ in the ratio $M C: A M=1: 4$. A line passing through point $M$ divides the square into two parts, the areas of which are in the ratio $1: 11$. In what ratio does this line divide the perimeter of the square?
Answer: $\frac{5}{19}$.

#