Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:6/8
K:G
['A>cB A>GF G>AB', 'Bdd d2 d ede d2 c'  
X:1
L:1/8
M:6/8
K:G
|:"^A" D | D>GG G>FG | A>cB A>GF | G>AB d>cB | A>cB A>GF | G>AB E>FG | D>EF G2 :|"^B" A | 
 Bdd d2 d | ede d2 c | Bdd d2 d | ede d2 c | B>BB B>AG | A>cB A>GF | G>AB d>cB | A>cB A>GF | 
 G>AB E>FG | D>EF G2 ||  