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
['G3 defg- g2 ff']  
X:1
L:1/8
M:4/4
K:G
 FGA B3 AB | edBA G E3 | FGB d3 ed | BGB A3 FG | A B3 ABed | BAG E3 FG | A B3 cBAG | A G3 defg- | 
 g2 ff eded | B G3 defg- | g2 ff edBA- | A2 ddd b3 | aage gdBG- | G2 FGA B3 | cBAG AG z2 |]  