Compose a piece using the alphabetic notation of the assigned musical structure and the provided melodic motif.
X:1
L:1/8
M:4/4
K:D
['d2 d2 c2 B2', 'd6 de f2 f2 e2 d2 g3']  
X:1
L:1/8
M:4/4
K:D
 ABc | d2 d2 c2 B2 | A4 A2 BA | G2 F2 E2 FG | AGFE DABc | d2 d2 c2 B2 | e4 e2 f2 | gfed cdec | 
 d6 :: de | f2 f2 e2 d2 | g3 a gagf | efef gfge | a4 a2 bg | fgef d2 ag | fgef dfga | bagf e3 d | 
 d6 :|  