Compose music following the outlined musical form presented in alphabet characters, along with the provided motif.
X:1
L:1/8
M:4/4
K:F
['AB cage', 'c8 ged^c dcBA de f4 e2 fdcB']  
X:1
L:1/8
M:4/4
K:F
 AB | cage f2 ed | c2 c4 Bc | dBAG cage | EF G4 AB | cage fedc | =Bc d4 ef | gedc fdc=B | c8 || 
 ged^c dcBA | de f4 e2 | fdcB cBcG | cd e4 f2 | cAGF f2 ed | cd b4 ag | afge c2 e2 | f6 ||  