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
['dABA dABA', 'd f3', 'a2 ag fded']  
X:1
L:1/8
M:4/4
K:D
|: dABA dABA | GAFA E2 (3ABc | dABA dABA | GFEF D3 A :| d f3 d f3 | ecAc gfec | d f3 dfed | 
 cABc d2 (3ABc | d f3 d f3 | ecAc gfec | d f3 dfed | cABc defg || a2 ag fded | Ae (3eee Ae (3eee | 
 a2 ag fded | efge fddf | aA (3AAA aAaA | gA (3AAA gAgA | fgaf gbag | fgfe d3 A ||  