Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:1/2=60
M:2/2
K:G
['gbag fedc BdgB', 'BG (B/c/d) (e/f/g) (B/c/d) (c/d/e)'  
X:1
L:1/8
Q:1/2=60
M:2/2
K:G
 gbag fedc | BdgB A/A/A e2 | gbag fedc | BdgB G/G/G G2 |: c | BG (B/c/d) (e/f/g) (B/c/d) | 
 (c/d/e) (B/c/d) cAAc | BG (B/c/d) (e/f/g) (B/c/d) | (c/d/e) (A/B/c) BGG |:  