Develop a musical piece by utilizing the alphabet-based notation of the selected musical form and the provided melodic idea.
X:1
L:1/4
M:4/4
K:G
['G2 G3/2 A/ B d', 'e/ d']  
X:1
L:1/4
M:4/4
K:G
|: D | G2 G3/2 A/ | B d B2 | G2 G3/2 A/ | B d c2 | A2 A3/2 B/ | c d c2 | f3/2 e/ d c | B A G :: d | 
 g2 g3/2 f/ | e d B2 | d2 d3/2 e/ | d B A2 | G2 G3/2 A/ | B G c2 | f3/2 e/ d c | B A G :|  