Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:2/2
K:G
['D (G/A/B/c/ d)B cAFD G>Bd>B (gfg)d AedG', 'BGG d g2 bg afda g2 (a/g/f/e/)'  
X:1
L:1/8
M:2/2
K:G
 D | (G/A/B/c/ d)B cAFD | G>Bd>B (gfg)d | AedG F(Aac) | (B/c/d) Ac BGG :| d | g2 bg afda | 
 g2 (a/g/f/e/) f^dBg | eace dbBd | A(ed>c) BGGd | g2 db afda | (g>fe>)g f^dBg | e(cBA) d(BAG) | 
 FdAc BG G, ||  