Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:6/8
K:G
['EGA Bed']  
X:1
L:1/8
M:6/8
K:G
 B3 BAB | GAB dgf | e2 g2 ed | BAG Adc | B3 BAB | GAB dgf | e2 g edB | AGF G2 A | BDD BAB | 
 GAB dgf | e2 g3 f | agf ged | B3 BAB | GAB dgf | e2 g edB | AGF G3 | E2 G2 AB | EGA Bed | 
 EGA Bed | ged egf | E2 G2 AB | EGA Bed | gfe agf | gfe deg | E2 G2 AB | EGA Bed | EGA Bed | 
 ged eg(f | f2) e2 (d2 | d)cB Aed | BAG cde | dgB ABc |]  