Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/8=100
M:6/8
K:G
['B2 A', 'd2 d'  
X:1
L:1/8
Q:1/8=100
M:6/8
K:G
"^Key D in MS" B2 A B2 A | G2 G GAB | c2 B c2 B | A2 A A2 B | c2 c cde | edB Bcd | dcB A2 B | 
 G2 G G3 :: d2 d dBG | e2 e e3 | c2 c cAF | d2 d d3 | G2 D B2 G | d B2 f d2 | edc BAG | A2 D D3 | 
 B2 A B2 A | G2 G GAB | c2 B c2 B | A2 A A2 B | c2 c cde | edc Bcd | dcB A2 B | G2 G G3 :|  