Construct a music composition that includes the given motif, while conforming to the necessary musical form.
X:1
L:1/8
Q:3/8=100
M:6/8
K:G
['B>AG g>fg', 'd B>dg B>dg'  
X:1
L:1/8
Q:3/8=100
M:6/8
K:G
"^A" d | B>AG g>fg | d>ed G2 A | B>AG G>AB | A>FD D3 | B>AG g>fg | d>ef g>dB | c>AF G>Bc | 
 d2 B G2 ||"^D" d | B>dg B>dg | d>cd G2 B | A>ce A>ce | B>dB G2 d | B>dg B>dg | d>ef g>dB | 
 c>AF G>Bc | d2 B G2 ||  