Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:G
['G E2 F EDB,C DEDB, DEGA', 'GA B d2 e dBGA Bdde dcBA'  
X:1
L:1/8
M:4/4
K:G
 BA | G E2 F EDB,C | DEDB, DEGA |"^tr" BABc dBGA | B A2 G AcBA | G E2 F EDB,C | DEDB, DEGA | 
 B d2 e dBGA | BGAF G2 || GA | B d2 e dBGA | Bdde dcBA | Bdef gfed | BA (3Bcd e2 ef | 
"^tr" gfge dged | BdAG E2 GA | BdAG EDB,D | E G2 A G2 |]  