Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:6/8
K:G
['F2 G A2']  
X:1
L:1/8
M:6/8
K:G
 D | G2 GB>AG | F2 G A2 D | G>AGBAG | F2 G A2 B/c/ | d>BGGFG | A2 F D2 B/c/ | d>BGA>GF | G2 z3 |]  