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
['B>G D2', 'G>A B>c d>gB>d B<GA>B c>AB>G A<D (3cBA']  
X:1
L:1/8
M:4/4
K:G
|: (3ABc | d2 B>G D2 (3Bcd | g>Bf>B c2 (3edc | B>GD>G (3Bcd c>B | (3ABA (3GFE D2 B>c | 
 (3ded B>G (3DED B>d | g>Bf>B c>ed>c | B>G D2 B>d (3dcB | (3ABA (3AGF G>A :: B>c | d>gB>d B<GA>B | 
 c>AB>G A<D (3cBA | G2 (3ABc d>e (3fed | (3gfe (3gfe d>c (3cBA | d2 (3Bcd B<G (3GAB | 
 (3cBA (3BAG A<DB>A | G>AB>c d>ef>g | d>B (3cBA G2 :|  