Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:9/8
K:G
['D2 G GAG FGA', 'BdB cAF'  
X:1
L:1/8
M:9/8
K:G
 D2 G GAG FGA | B3 GAB c[Bd][Ae] | D2 G GAG FGA |1 BdB cAF GEG :|2 BdB cAF Gdc || d3 cAG FED | 
 ded cAB c3 | d3 cAG FGA |1 BdB cAF Gde :|2 BdB cAF GEG ||  