Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:12/8
K:D
['F2 A', 'fed B2 A Bcd A2'  
X:1
L:1/8
M:12/8
K:D
|: F2 A AFA Bcd A2 G | F2 A D2 F EDE E3 | F2 A AFA Bcd A2 G | F2 A E2 F DED D3 :: 
 fed B2 A Bcd A2 g | fed def e3 e2 g | fed B2 A Bcd A2 G | F2 A E2 F DED D3 :|  