I've got a design problem I'm hoping someone can help with.

Part of a project is to design a mod-20 counting circuit using D flip flops, and then again with JK flip flops. The only issue is I'm not as knowledgeable as some when it comes to digital logic circuits.

I've got the truth tables/karnaugh maps for the D type, but I'm unable to derive the circuit from this.

Could anyone please show me the way?