Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['eA A2', 'a2 fa bafb'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 eA A2 eAAB | e2 fd edBd | eA A2 eA A2 | d2 ed BGBd | eA A2 eAAB | e2 fd edBd | g4 f3 e | 
 dfec dBAf :| a2 fa bafb | afef edBA | a2 fa bafb | afed B2 A2 | a2 fa bafb | afef edBA | g4 f3 e | 
 dfec dBAf :|  