The student drew a right triangle $ABC$ on the board with a right angle at the vertex $B$ and inscribed in it an equilateral triangle $KMP$ such that the points $K, M, P$ lie on the sides $AB, BC, AC$, respectively, and $KM \parallel AC$. Then the picture was erased, leaving only points $A, P$ and $C$. Restore erased points and lines.