Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:3/4
K:G
['B2 BAGF E4 AB cE (3EDE', 'c4 A2 BG DG'  
X:1
L:1/8
M:3/4
K:G
 D GA | B2 BAGF | E4 AB | cE (3EDE cA | B2 GDGA | B2 BAGF | E4 AB | cE (3EDE dF | G4 :: z D | 
 GD GD Bd | c4 A2 | BG DG BG | AF DF AF | GzGzBd | c4 A2 | BG DG AF | (G4 G) :|  