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
['GBAB G2 ge', 'g2 bg agbg defg']  
X:1
L:1/8
M:4/4
K:G
 GBAB G2 ge | dBGB AE E2 | GBAB G2 ge | dBAd BGGF | GBAB G2 ge | dBGB AE E2 | GBAB G2 ge | 
 dBAd BGBd || g2 bg agbg | defg agfa | g2 bg agbg | defg agfa | g2 bg agbg | defg afdf | 
 gfeg fd d2 | eaaf gedB ||  