thank you for your kind reply.
I realise these particular problems could be solved, but these are famous Bach tunes. I am wondering how to move from the species rules of counterpoint to actual writing of music. It seems that whenever I look at proper musical pieces, fugues etc, even the Fux book, the materlial is full of non-adherence to the rules. Is there a book, course, or something that can help me bridge the gap from species counterpoint to composition?
(personally, I like the C-F# tritone in the example, it is the defining tritone of D7, but I understand it is not to be used under strict counterpoint...)