Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
['d2 AG FD FA BG Bd cB', 'd2 (3(efg) a2 fd Ad fa g2'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
|: (3(ABc) | d2 AG FD FA | BG Bd cB ce | fd ge af ed | c2 e2 eg fe | d2 AG FD FA | BG Bd cB ce | 
 db ag fg ec | d2 f2 d2 :: (3(efg) | a2 fd Ad fa | g2 ec Ac eg | fa fd Bg ed | ce dB Ag fe | 
 d2 AG FD FA | BG Bd cB ce | db ag fg ec | d2 f2 d2 :|  