AM=10 and point M is the midpoint of AB. Find AB