Create a musical composition following the given alphabetical pattern and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:Dphr
['AAGG^F FEED']  
X:1
L:1/8
M:4/4
K:Dphr
|:"D" D A2 A A2 A2 |"Gm" BABA BA G2 |"Cm" cBBA AG^FG |"D" A8 ::"D" AGG^F FEDE | ^F8 |1 
 AAGG^F FEED | (D A7) :|2"Cm" AAGG^F FEED |"D" D8 |]  