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
['cA (3AAA', 'fage fefg'  
X:1
L:1/8
M:4/4
K:D
 Addd ecdB | Addc dedB | Adde fdeg | fage fdBG | Addd ecdB | Addc dedB | Adde faed |1 
 cA (3AAA cBAA :|2 cA (3AAA cA (3AAA || fAgA fdge | fdge fd d2 | fage fefg | aA (3AAA aA (3AAA | 
 fAgA fdge | fage fefg | abaf egfd | cA (3AAA cBAA :|  