Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:2/2
K:G
['G2 Bd e2 dB', 'G2 (!fermata!f<a)ag (fd)de fdag (fd) d2 |1']  
X:1
L:1/8
M:2/2
K:G
|: G2 Bd e2 dB | (GA)BG (AG)EF | G2 Bd e2 dB | (cA)BG (EG) G2 :: (!fermata!f<a)ag (fd)de | 
 fdag (fd) d2 |1 (f<a)ag (fd)df | edef gfed :|2 bgaf gfef | dfaf gedB |]  