Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
Q:1/8=300
M:4/4
K:Amin
['EAAB c2 d2 (3e^fg ed Bc d2', 'ea a2 e2 d2'  
X:1
L:1/8
Q:1/8=300
M:4/4
K:Amin
 D | EAAB c2 d2 | (3e^fg ed Bc d2 | eAAB BAGB | AGE^F GE D2 | EAAB c2 d2 | (3e^fg ed Bc d2 | 
 eAAB BAGE | A4- A3 :| d | ea a2 e2 d2 | ea a2 e2 d2 | eAAB BAGB | AGE^F GE D2 | EAAB c2 d2 | 
 (3e^fg ed Bc d2 | eAAB BAGE | A4- A3 :|  