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 BA'  
X:1
L:1/8
M:4/4
K:G
"G" B2 BA B2 BA | GABd eBdB |"Am" A2 AB A2 Bd |"C" eBgf"D" edBA |"G" A B2 A B2 BA | GABd eBdB | 
"Em" G2 BG"C" A2 GA |"D" BGAG"G" EG D2 ::"D" f3 d"C/D" edBd |"D" effd"C/D" edBA |"D" f3 d edBd | 
"A" eaag abag |"D" f2 fd edBd |"G" gefd"C" edBA |"G" G2 BG"Am" A2 GA |"D" BGAG"G" EG D2 :|  