5.1. (a) Example of canon, from “Ach, Gott und Herr,” BWV 724, mm. 38–41 (dotted line marks canonic imitation); (b) example of fugue, from “Machs mit mir, Gott,” BWV 957, mm. 1–3 (asterisks mark notes of the chorale melody). Click here for longer version of this example.