[Thales' Theorem and the Proportional Segments Theorem]

On the median $A M$ of triangle $A B C$, a point $K$ is taken such that $A K: K M=1: 3$.

Find the ratio in which the line passing through point $K$ parallel to side $A C$ divides side $B C$.