Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
M:4/4
K:D
['A3 B AF F2 AFAd f3 g', 'd2 e2 fded BdAB dcdf a2 fa'  
X:1
L:1/8
M:4/4
K:D
 A3 B AF F2 | AFAd f3 g | afdf efdB | A3 F EFDF | A3 B AF F2 | AFAd f3 g | afdf efdB | Adfe d2 :: 
 e2 | fded BdAB | dcdf a2 fa | g2 fg edBc | dBAF EFDF | A3 B AF F2 | AFAd f3 g | afdf efdB | 
 Adfe d2 :|  