Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
Q:1/8=350
M:12/8
K:D
['d2 c', 'd3 gfg bag fdf afd e2 f']  
X:1
L:1/8
Q:1/8=350
M:12/8
K:D
 d2 B AFA d2 c d2 f | e2 f g2 e fed B/c/BA | dzB AF/G/A d2 c dze | f2 b afd e3 d3 :| 
 gfg bag fdf afd | e2 f a2 g fed B/c/BA | dzB AFA d2 A d2 e | fbg afd e3 d3 :|  