Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:4/4
K:G
['GBBA G3 G FAAG FA D2 GBBA', 'fgab agef g4 :|2 gbfa efga gfef']  
X:1
L:1/8
M:4/4
K:G
 GBBA G3 G | FAAG FA D2 | GBBA GBdg |1 fgaf gedB :|2 fgaf g4 |: gbba fgab | agef gede |1 
 gbba fgab | agef g4 :|2 gbfa efga | gfef gedB ||  