Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/4
M:3/4
K:C
['e g g/^f/ d2 B/G/']  
X:1
L:1/4
M:3/4
K:C
 G B c | d2 c | e c3/2 G/ | c e ^f | g e2 | g a g/c/ | e g g/^f/ | d2 B/G/ | G g e/c/ | e g g/^f/ | 
 d2 B/G/ | c e3/2 c/ |]  