Compose a piece using the alphabetic notation of the assigned musical structure and the provided melodic motif.
X:1
L:1/8
M:2/2
K:D
['B (AF)(ED)', 'A defd gfec']  
X:1
L:1/8
M:2/2
K:D
 B | (AF)(ED) G3 B | (GF)(ED) E3 B | (AF)(ED) GABd | AGFE D2 D :| A | defd gfec | defd ecBA | 
 defd gfeg | f/g/a ef d3 A | defd gfec | defa ecBA | defd gfeg | faef d2 d ||  