Develop a musical piece by utilizing the alphabet-based notation of the selected musical form and the provided melodic idea.
X:1
L:1/8
M:9/8
K:G
['G3 BAG', 'g3 efg']  
X:1
L:1/8
M:9/8
K:G
 G3 BAG d3 | G3 EFG DEF | G3 BAG d2 d | ege edB BAB :| g3 efg def | gfg efg a3 | g3 efg dga | 
 bag efg a3 :|  