Just compose it by ear. Thats what I did.
For me the fugue is a loose style
fancy rules about harmony