Develop a musical piece incorporating the designated alphabet-based pattern and the supplied melodic theme.
X:1
L:1/8
M:4/4
K:D
['', 'd>e f>g', 'e2 e>f g>f e<d c>B']  
X:1
L:1/8
M:4/4
K:D
 A2 |: d>e f>g f<e f2 | d>e f>g f<d e2 | e>f g>f e<d c>B | A>c e>g f2 f>e | d>e f>g f<e f2 | 
 d>e f>g f<d e2 | e>f g>f e<d c>B |1 A>c e>g f<d d>A :|2 c<e e>A d2 d>e |: f<a a>g f<e f2 | 
 f>g a>g f<d e2 | e>f g>f e<d c>B | A>c e>g f2 f>e | f<a a>g f<e f2 | f>g a>g f<d e2 | 
 e>f g>f e<d c>B |1 c<e e>A d2 d>e :|2 A>c e>g f<d d2 ||  