Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
Q:1/8=232
M:4/4
K:G
['dB (3(BAB)']  
X:1
L:1/8
Q:1/8=232
M:4/4
K:G
|: Bd | (3(efg) dB G2 GF | DG (3(GFG) DG GB | dB AB G2 GA | Be ed ef ge | dB AB G2 GF | 
 DG (3(GFG) DG GB | dB AB G2 GA | Be ed e3 e | dB (3(BAB) dB ge | dB (3(BAB) d2 g2 | 
 dB (3(BAB) g2 fg | (3(efg) dB A2 Bc | dB (3(BAB) dB gf | ed ef g2 ga | (3(bag) af ge fd | 
 ed ef g2 :|  