I understand the difference between 'who' and 'whom', but in the following sentences I'm not sure whether to use 'whoever' or 'whomever':
'Give wh-ever did that a pay rise.'
'Tell wh-ever is teaching the class that I will be a little late.'
I look forward to reading your responses!