It was 'fixed' and Roy taught Muhammad.

It can be both, as Muhammad went both ways.