The MM IV is constructed by starting and finishing on the fourth note of the A melodic minor scale, the D note in the given example. The note pattern is
T T T S T S T
The MM V is constructed by starting and finishing on the fifth note of the A melodic minor scale, the E note in the given example. The note pattern is
T T S T S T T
The MM VI is constructed by starting and finishing on the sixth note of the A melodic minor scale, the F# note in the given example. The note pattern is
T S T S T T T
The MM VII is constructed by starting and finishing on the seventh note of the A melodic minor scale, the G# note in the given example. The note pattern is
S T S T T T T