Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:G
['G/G/G g>d', 'A>B G/G/G B/A/B G/G/G d>e'  
X:1
L:1/8
M:4/4
K:G
 G/G/G g>d ed/B/ d>e | G/G/G g>e d/B/G A>B | G/G/G g>d e/d/B d>f | g/f/e d/g/e d/B/G A>B || 
 G/G/G B/A/B G/G/G d>e | G/G/G{c} B/A/B d/B/G A>B | G/G/G B/A/B G/G/G d>e | 
{f} gf/e/ d/g/e d/B/G A>B ||  