Create musical pieces that follow the designated structure and incorporate the provided musical motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['A (Ad)dd d2 df edcd eg g2', 'f2 fd'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
 A | (Ad)dd d2 df | edcd eg g2 | fdec d2 AF | GBAG FD D2 :: f2 fd g2 ge | f2 fd ge (3(efg) | 
 afge d2 AF | GBAG FD D2 :|  