Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:G
['gf ed dB d2 de dB AB', 'BA BG GA Bd eB d2 Bd'  
X:1
L:1/8
M:4/4
K:G
 gf | ed dB d2 de | dB AB GE DE | GA B/c/d eg ag | ba ag a2 gf | ed dB d2 de | dB AB GE DE | 
 GA B/c/d eg ba | ge dB G2 :| AG | EG BA BG GA | Bd eB d2 Bd | e/g/e dB d2 GA | BA GD E2 DE | 
 GA BA BG GA | Bd eB d2 Bd | ga ba ge dB | Ae dB G2 :|  