Construct a musical composition using the provided motif and maintain the designated form.
X:1
L:1/8
Q:1/8=170
M:12/8
K:G
['G2 A BAG A2 G E2 D', 'GAB BAB'  
X:1
L:1/8
Q:1/8=170
M:12/8
K:G
 (3D/E/F/ | G2 A BAG A2 G E2 D | DEG A2 B c3 B2 A | G2 A BAG A2 G E2 D | d2 B ABA G3 G2 :| A | 
 GAB BAB GAB BAB | GAG d2 B A3 A3 | GAB BAB GAB BAB | d2 B ABA G3 G2 :|  