Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:4/4
K:G
['B2 Bc B3 A', 'A B2 c2 d3 e d2 dd', 'B2 AB']  
X:1
L:1/8
M:4/4
K:G
 B2 Bc B3 A | G3 B de d2 | B2 Bc B3 A | G2 B2 A3 A :| B2 c2 d3 e | d2 dd AB A2 |: B2 Bd B4 | 
 AG FG AB AG | B2 AB c3 c | B2 AB G4 :|  