Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
Q:3/8=60
M:3/8
K:G
['B/c/ ddg eea f(d/e/f/d/) g(d/e/f/d/) ddf eea', "c'c'b aag", 'd2 B'  
X:1
L:1/8
Q:3/8=60
M:3/8
K:G
 B/c/ | ddg | eea | f(d/e/f/d/) | g(d/e/f/d/) | ddf | eea | fd/e/f/d/ | g2 :: d | c'c'b | aag | 
 f(d/e/f/g/) | aad | c'c'b | aag | fd/e/f/d/ | g2 :: d | d2 B | B2 G | A(A/B/c/d/) | BGd | d2 B | 
 g2 e | dd/B/c/A/ | G2 :|  