Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
M:2/2
K:D
['dB A2 f2- f2 fd Bd g2']  
X:1
L:1/8
M:2/2
K:D
 ag |"D" fgaf dfaf |"G" gabg"A" e2 ed | cdec"^(A7)" Acec |"D" dedB A2 ag |"D" fgaf dfaf | 
"G" gabg"A" e2 ed | cdec"^(A7)" Acec |"D" d6 :: dB |"D" A2 f2- f2 fd |"G" Bd g2 g2 ga | 
"D" fgfd"A" efec |"D" dedB A2 dB |"D" A2 f2- f2 fd |"G" Bd g2 g2 ga |"D" fgfd"A" efec |"D" d6 :|  