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
['G DG GG G2 GG A>B cA']  
X:1
L:1/8
M:4/4
K:G
 G | DG GG G2 GG | A>B cA B2 B A | GGGF E2 FG | A>BAG GF Bd |[M:3/4] d4 d2 | B4 AG | 
[M:4/4] G2 B2 D2 z D | EFGA B2 A2 | G6 |]  