Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:4/4
K:G
['GABG E2 E2 D4 B/B/c dB AGAB', 'Bd e3 f g2 fg edd^c d2'  
X:1
L:1/8
M:4/4
K:G
|: Bc | d3 B GABG | E2 E2 D4 | B/B/c dB AGAB | A3 B A2 Bc | dedB GABG | E2 E2 D4 | B/B/c dB AGAB | 
 G2 GF G2 :: Bd | e3 f g2 fg | edd^c d2 Bd | edBd gdBG | A/B/A ^GB A2 Bd | e3 f g2 fg | 
 edd^c d2 Bd | ed B/c/d gdBG | A/B/A GF G2 Bd | e3 f g2 fg | edd^c d2 Bd | edBd gdBG | 
 A/B/A ^GB A2 Bc | d3 B GABG | E2 E2 D4 | B/B/c dB AGAB | G2 GF G2 ||  