Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
M:3/4
K:D
['cd dA']  
X:1
L:1/8
M:3/4
K:D
 A cA |"D" cd dA cA | cd dA cd |"Em7" e2 eg fd |"A" e2 A2 Bc |"D" cd dA cA | cd dA cd | 
"Em7" e2 ef"A" e/d/c |"D" d3 :: e fg |"D" a2 ag fd |"G" g3 f2 g |"A" eA Ag fg | e2 A2 fg | 
"D" a2 ag fd |"G" g3 f2 g |"A" e2 ef e/d/c |1"D" d3 :|  