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:2/2
K:G
['gdBG BGBG edcB', 'g4 d2 c2', 'B2 (3(dcB)', 'B2 (3(dcB)']  
X:1
L:1/8
M:2/2
K:G
|: gdBG BGBG | edcB A2 D2 | gdBG BGBG | edcB A4 | b4 a2 g2 | fgef d^cBA | b4 a2 g2 | fgef d4 :: 
 d=cBc dcBc | d2 =f2 e2 c2 | edcd edcd | e2 g2 f2 d2 | g4 d2 c2 | BcAB GFED | g4 d2 c2 | BcAB G4 :: 
[M:2/4][K:Bb] B2 (3(dcB) | gedc | B2 (3(dcB) | AFAF | B2 (3(dcB) | gedc | (3(def) (3(dcB) | 
 c2 B2 :: B2 (3(dcB) | bBbB | B2 (3(dcB) | AFAF | B2 (3(dcB) | gedc | (3(def) (3(dcB) | c2 B2 :|  