Construct a musical composition using the provided motif and maintain the designated form.
X:1
L:1/8
M:2/2
K:G
['B2 (MBA) (Bc) d2', 'G2 (3def g2 (Mge) f2 (fd) edef'  
X:1
L:1/8
M:2/2
K:G
 (BA) | GEDE G2 (GA) | B2 (MBA) (Bc) d2 | GEDE G2 (GB) | AGAB AGEF | (MGE)(DE) G2 GA | 
 B2 (MBA) (Bc) d2 | edef gedc | BGAF G2 || (3def | g2 (Mge) f2 (fd) | edef edBd | (Mge)dB G2 B2 | 
 (MAG)AB AG E2 | (MGE)DE G2 GA | B2 (MBA) (Bc) d2 | edef gedc | BGAF G2 |]  