Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:4/4
K:D
['F2 EF DFFD FAAB B2 AB d2', 'A2 fA'  
X:1
L:1/8
M:4/4
K:D
|: AG | F2 EF DFFD | FAAB B2 AB | d2 fd BddB | ABAF EAAG | F2 EF DFFD | FAAB B2 AB | d2 fd BddB | 
 Addc d2 :: fg | a2 ag faaf | efed BddB | A2 fA fAAf | A2 fA e2 fg | a2 ag faaf | efed BddB | 
 A2 fA fAAf | A2 fe d2 :|  