Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:2/2
K:D
['A/A/A B>AGB A/A/A', 'fdfa fdfa edef']  
X:1
L:1/8
M:2/2
K:D
 B | a>A A/A/A B>AGB | A/A/A f>e dBBg | (a>A) A/A/A B>AGB | A/A/A (f>e) d2 d :| e | fdfa fdfa | 
 edef dBBg | fdfa fdfa | edef d/d/d (de) | fdfa fdfa | edef dBBg | a>A A/A/A(BAGB) | 
 A/A/A f>e d2 d ||  