Compose a piece using the specified musical pattern based on the alphabet and the provided melodic theme.
X:1
L:1/8
Q:1/2=100
M:4/4
K:G
['G3 e dBBe', 'bggb affa']  
X:1
L:1/8
Q:1/2=100
M:4/4
K:G
 G3 e dBBe | dBBe dBBg | G3 e dBBe | dBgB A2 A2 :: bggb affa | geeg dB B2 | bggb affd | egdB A3 z | 
 bggb affa | gege dB B2 | bgaf gefd | egdB A3 B |]  