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=180
M:4/4
K:G
['D2 DE GABG', 'G2 Bd']  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 D2 DE GABG | DGBG AE E2 | D2 DE GABG | GE E2 cE E2 | DEDE GABG | dGBG A2 GE | D2 BD GABG | 
 AGEF G2 z2 |] G2 Bd edBd | edBG AE E2 | G2 Bd edBe | dBAB G2 z2 | GABd edge | dcBG AE E2 | 
 g3 d edge | dcBG AEGE |]  