I echo the comments below regarding this lesson lacking clarity.
The explanation of when it IS appropriate to use 'devoir' is missing and I find it easier to just memorise the correct answers rather than try to answer them using knowledge of the grammar rules.