Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:G
['', 'B2 GB DBGB', 'g2 ga b3 a'  
X:1
L:1/8
M:4/4
K:G
 dc |: B2 GB DBGB | d2 BG d2 BG | B2 GB DBGB | c2 AD c2 AD | BGBd c2 cA | BGBd gfdc | BGBd gfdc |1 
 B2 G2 G2 dc :|2 B2 G2 G2 Bc || dgBg d2 Bd | gBdg B3 d | g2 ga b3 a | gfgb d3 e | fafd cdcd | 
 fAdf g2 de | fafd cdfa | g2 b2 g2 ga | b3 a gfga | b2 bg d3 e | fafd fafd | gbgd gbgd | 
 fafd fafd | dccb c2 dc | BGBd c2 cA | BGBd gfdc | BGBd gfdc |1 B2 G2 G2 Bc :|2 B2 G2 G2 dc ||  