Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:6/8
K:G
['c BAB gdB AGA dBA', 'def fgf']  
X:1
L:1/8
M:6/8
K:G
 c |:"G" B3"G" BAB |"G" GBd"G" gdB |"D" A3"D" AGA |"Em" Bee"G" dBA |"G" BcB"G" BAB |"G" GBd"G" g3 | 
"Em" efg"Em" eag |1"D" fdd"G" d2 c :|2"D" fdd def |:"G" g3"Bm" fgf |"Em" efe"G" dBA | 
"G" G3"D" AGA |"Em" Bee"Bm" def |"G" gag"Bm" fgf |"Em" efe"G" d3 |"Em" efg"Em" eag |1 
"Bm" fdd"Bm" def :|2"Bm" fdd"D" dcA |]  