Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:4/4
K:G
['B3 d']  
X:1
L:1/8
M:4/4
K:G
 E |"G" G3 D"Em" EDEG |"Am" AGAB"D" d2 Bd |"C" eged"G" BAGA |"A7" BAGE"D" EDDE |"G" GFGD"Em" EDEG | 
"Am" AGAB"D" d2 Bd |"C" eged"Em" BAGA |"A7" BAGE"D" ED D :: d |"Am" eaag"Em" efge |"Bm" dBBA B3 d | 
"Em" eB B2 eBgB | eBBA"Bm" B3 d |"Am" eaag"Em" efge |"G" dBBA"G7" B3 d |"C" eged"Em" BAGA | 
"A7" BAGE"D" ED D :|  