Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
M:2/2
K:D
['vD2 (AB) AFAB D2 (dB) AFEF D2', 'eAAA fde(f gf).e.d cdef d2'  
X:1
L:1/8
M:2/2
K:D
 vD2 (AB) AFAB | D2 (dB) AFEF | D2 (AB) AFAg ||1 fd"^4"ec dBAF :|2 fdef d2 d2 |: vfde(f gf).e.d | 
 cAAA eAAA | fde(f gf).e.d | cdef d2 d2 :|  