Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/4
Q:1/8=150
M:3/4
K:G
['G A B', 'a g'  
X:1
L:1/4
Q:1/8=150
M:3/4
K:G
 D/E/ | G2 G | G A B | A2 G | A2 B/A/ |"^5" G G3/2 G/ | g (3f/g/f/ e | d B G | A B (3A/B/A/ | 
"^9" G2 G | G A B | A2 E | A3/2 B/ (3c/B/A/ |"^13" G E G | A B A | G3 | G2 :| d |"^17" g f g | 
 a g a | b a g | (3e/f/d/ (3e/f/e/ d |"^21" g2- g/f/4g/4 | a g a | b a g | e2 g |"^25" f e d | 
 e f e | d B G | A B A |"^29" G E G | A B A |1 G3 | G2 :|2 G3/2 D/E/F/ | G3- | G3 |]  