Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:2/2
K:G
['G2 (BG) BddB |{d} cBcd efge GBdG', 'edefgdBG g2 (3(aga) bggd edcB A2 G2'  
X:1
L:1/8
M:2/2
K:G
 G2 (BG) BddB |{d} cBcd efge | GBdG Bdgd | ecBc A2 G2 :| g2 (3(aga) bggd |{f} edefgdBG | 
 g2 (3(aga) bggd | edcB A2 G2 | bgaf gfed | egfa gedB | GBAc Bdgd | ecBc A2 G2 |]  