Three Inventions on J. S. Bach's 'A musical offering'