Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:3/2
K:G
['gdBd gfgd cBAG', 'cBAG gabg afed ef g2 gaba gfed', 'ABcd g2 fe dBGB dBGB ABcd ecBA'  
X:1
L:1/8
M:3/2
K:G
"^1" gdBd gfgd cBAG | gdBd gabg agfe | gdBd gfgd cBAG | ABcd ecBA BdBG :|"^2" gaba gfed cBAG | 
 gabg afed ef g2 | gaba gfed cBAG | ABcd ecBA BdBG :|"^3" g2 fe dBGB dBGB | gfge dBGB ABcd | 
 g2 fe dBGB dBGB | ABcd ecBA BdBG :|  