In cases 1 and 4 we know there are not exactly 2 liars, so one of the two did it, and by similar reasoning determine which is was (4 liars means there were not exactly 1 liar, and vice versa, so that the contrapositives work).

If k=2 neither Becky nor Betty did it, by similar reasoning, but who did it?