Develop musical pieces that incorporate the given motif and follow the specified structure.
X:1
L:1/8
Q:1/2=90
M:4/4
K:D
['(dc) d2 D4 AG (FA) d4 (3fed', 'd2 AG FAdA FAdA B2 G2 G2'  
X:1
L:1/8
Q:1/2=90
M:4/4
K:D
 (dc) | d2 D4 AG | (FA) d4 (3fed | e2 E4 ed | ce a2 a2 bc' | d'c'ba bagf | gefg dcBA | Bdce dfeg | 
 f2 d2 d2 :: AG | FAdA FAdA | B2 G2 G2 BA | GBeB GBeB | c2 A2 A2 gf | ga b2 bagf | gefg dcBA | 
 (3Bcd (3cde (3def (3efg | f2 (d2 d2) :|  