I want to add dynamic member to Marketing List that meet below criteria

a. Leads that gave campaign response with response code doesn't equal interested
b. Leads that hasn't registered in Marketing List or already registered in Marketing List but hasn't used in campaign

Below is my current query for requirement a. When I added new relation to Marketing List, it throws an error, it said I already use this relation. So how can I create query for requirement b?