The problem states that BM is a median in triangle ABC. By definition, a median connects a vertex to the midpoint of the opposite side. Therefore, M is the midpoint of AC.
The length of the median BM (32) is extra information and not needed to find AM.
Answer: 22