Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
Q:3/8=120
M:9/8
K:G
['g2 e dBd', 'B2 c dBG dBG'  
X:1
L:1/8
Q:3/8=120
M:9/8
K:G
 g2 e dBd dBd | g2 g gab a2 f | g2 e dBd def | g2 G GAB A2 G :: B2 c dBG dBG | Bcd efg f2 d | 
 B2 c dBG dBG | g2 G GAB A2 G :|  