Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['DGGA BGAF DEFd cFAF DGGA Bcdg', 'gd g2 gbag'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
"^simplified version" GF | DGGA BGAF | DEFd cFAF | DGGA Bcdg | fdcA BGAF | DGGA BGAF | DEFd cFAF | 
 DGGA Bcdg | fdcA G4 || gd g2 gbag | gc c2 fgaf | gd g2 gbag | fdcA BGBd | gd g2 gbag | fdef gfga | 
 bgge fdeg | fdcA BGAF ||  