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
['f>g f>e d>e d<B', 'A2 (3FED F<A A>d', 'F<A D>A (3FGA d>A', 'a>f d<f g>f e<d', '(3dcB A>d f>a g>f']  
X:1
L:1/8
M:4/4
K:D
|: f>g f>e d>e d<B | A>F A>d c<e e2 | f>g f>e d>e d<B | c>d e>a f<d d2 :: A2 (3FED F<A A>d | 
 B>A B>d c<e e<f | A2 (3FED F<A A>d | c>d e>a f<d d2 :: F<A D>A (3FGA d>A | F<A D>F G<E E>A | 
 F<A D>A (3FGA d>A | (3GFE (3EAG F<D D2 :: a>f d<f g>f e<d | g>e (3fed c<e (3efg | 
 a>f d<f g>f e<d | (3fga (3efg f<d d2 :| f2 (3agf e2 (3gfe | d2 (3fed c2 (3edc | B2 (3dcB A>d f>a | 
 g>f e>d c<a a>g | (3fef (3agf (3ede (3gfe | (3dcd (3fed (3cBc (3edc | (3BAB (3dcB A>d f>a | 
 g>f e>a f<d d2 ||  