Given a trapezoid ABCDABCDABCD and a point MMM on the side ABABAB such that DM⊥ABDM \perp ABDM. It is found that . Find the length of the upper base , if .