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
['dD (3DDD{G} EDB,D A,DFA{d} BAFA', 'afdg fdad bdad efga ge=c=f e=cg=c a=cg=c']  
X:1
L:1/8
M:4/4
K:D
 (3ABc | dD (3DDD{G} EDB,D | A,DFA{d} BAFA | dDcD BDAD |{G} EDAD{d} BAFA | dD (3DDD{G} EDB,D | 
 A,DFA{d} BAFA | (3Bcd ec dBAF |{G} EDEF D2 :| ag | fgab afdg | fdad bdad | efga ge=c=f | 
 e=cg=c a=cg=c | fgaf bfaf | gfeg fdBc | defd ecdB | AFEF D2 :|  