Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:6/8
K:D
['d>dd def e2 d', 'B (A2 F) FEF'  
X:1
L:1/8
M:6/8
K:D
 A | d>dd def | e2 d c2 c | (d2 c) Bcd | c2 ^A F2 c | d>dd def | e2 d cde | d2 B c2 ^A | B3 B2 || 
 B | (A2 F) FEF | A2 F F2 B | (A2 F) FEF | D2 B, B,2 B | (A2 F) FEF | A2 F F2 d | dcB (c2 ^A) | 
 B3 B2 ||  