Circuit Diagram for a D Flip-Flop with a reset switch?
The gate-level logic of of various logical functions (D-flops etc.) has been solved by industry 40 years ago. Please study reference databooks from manufacturers like this one, from Texas Instruments.