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:4/4
K:D
['', 'ag fdfa ecAc dABd A2 dc BGBd', 'e2 ef g2']  
X:1
L:1/8
M:4/4
K:D
 ag |: fdfa ecAc | dABd A2 dc | BGBd Aceg | fdfa e2 ag | fdfa ecAc | dABd A2 dc | BGBd AFDF |1 
 EDCE D2 ag :|2 EDCE D2 cd |: e2 ef g2 gf | ecBc a2 af | e2 ef g2 ge | faec d2 cd | e2 ef g2 gf | 
 ecBc a2 ae | c2 ac B2 g2 |1 faec d2 cd :|2 faec d4 ||  