Develop a musical composition by incorporating the suggested motif and by following the prescribed format.
X:1
L:1/8
Q:1/2=80
M:2/2
K:C
['C f d2 fd BdAF Eeef agfe', 'f defg affa bggb af f2{ef} defg'  
X:1
L:1/8
Q:1/2=80
M:2/2
K:C
 C |[K:D]"^by A.Mackintosh" f | d2 fd BdAF | Eeef agfe | dDcD BDAD | Bcde fdd :| f | defg affa | 
 bggb af f2{ef} | defg abaf | gefd ceef | defg afaf | bgbg afaf | gbaf gefd | cA (a/g/f/e/) fdd |]  