Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
Q:1/8=180
M:12/8
K:D
['A2 F', 'AFA B2'  
X:1
L:1/8
Q:1/8=180
M:12/8
K:D
 B | A2 F AFF B2 G BAG | A2 F AFA B2 E E2 B | A2 F AFF B2 G BAG |1 AFA B2 c d3 c2 :|2 
 AFA B2 c d3 d2 |] A | d2 d ded c2 B c2 B | A2 F AFA B2 E EDE | d2 d ded c2 B c2 B |1 
 AFA B2 c d3 d2 :|2 AFA B2 c d3 d3 |]  