Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
Q:1/8=120
M:6/8
K:G
['c3 BdB A2 A', 'G3 B/c/ d3 Bee d3 Bc B2'  
X:1
L:1/8
Q:1/8=120
M:6/8
K:G
 G/A/ | B2 B B>AB | c3 BdB | A2 A ABA | B2 G G2 A | B2 B BAB | c3 BdB | A2 A AGA | G3 :: B/c/ | 
"^As written" d3 Bee | d3 Bc | B2 G g3 | e e2 d2 :|  