Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:2/4
K:G
['d GB/c/ dg f2 gd e2 dc', 'd2 gd c2 ac BdGB A2'  
X:1
L:1/8
M:2/4
K:G
 d | GB/c/ dg | f2 gd | e2 dc | TB3 c | d2 BG | efgG | GA/B/ cB | A3 A | B^cde | fgad | 
 e2 d/^c/d/e/ | d3 :: B/c/ | d2 gd | c2 ac | BdGB | A2 DB/c/ | d2 gd | c2 ac | BdGB | A2 Bc/d/ | 
 e3 g | fdgc | BdDF | G3 :|  