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:C
['BEA |[M:2/2][K:G]SOSOO .!fermata!PMTuCO(MGE) DEGA BGGB cABG AGEG', '(3(def) g2 (ge) d2 (dB) AcBG AGEG']  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:2/2][K:G]SOSOO .!fermata!PMTuCO(MGE) | DEGA BGGB | cABG AGEG | DEGA BABc | dBAB G2 :| 
 (3(def) | g2 (ge) d2 (dB) | AcBG AGEG | g2 ge d2 d2 | eaab agef | gfge dedB | cABG AGEG | 
 DEGA BABc | dBAB G2 |]  