Question 8$M$ is the midpoint of the side $CD$ of a square $ABCD$ of side length 24 cm. $P$ is a point such that $PA=PB=PM$. What is the minimum length, in cm, of $PM$?