Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:2/4
K:D
['AAAB AB A2 AdcB', 'F2 AG G2 AF F2'  
X:1
L:1/8
M:2/4
K:D
|: AAAB | AB A2 | AdcB | A2 F2 :| AG G2 | AF F2 | AG G2 | AF F2 | DFFE | DFFE | DFFE | D2 D2 | 
 (3DEFFE | (3DEFFE | (3DEFFE | D2 D2 |]  