Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['', 'BAFA A2 FA', 'BAFA B2 cA BAcA BAcA BAFA Addd'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 dB |: A2 AA BAFA | A2 FA BAFA | B2 cA BAcA | BAcA BAFA | A2 FA BAFA | A2 FA BAFE | FABc d2 dB |1 
 AFEF D3 F :|2 AFEF D3 z || Addd Addd | Addd BAFA | B2 cA BAcA | BAcA BAFA | Addd Addd | 
 AD (3dcd BAFE | FABc d2 dB | AFEF D4 |]  