This question is about an island of knights and knaves, where knights always speak the truth and knaves always lie. You encounter two people A and B. Determine, if possible, what each of them are if they address you as follows: A says "B is a knave" and B says "A is a knight".
Here's my solution:
Let p be the proposition 'A is a knight' and let q be the proposition 'B is a knight.'
p q
F F x A cannot speak the truth
F T x B cannot lie
T F x B cannot speak the truth
T T x A cannot lie
Therefore, all possibilities are eliminated, so this means that the identity of A and B cannot be deduced.
EDIT: Sorry I did this wrong :(
A says "B is a knave" and B says "A is a knight".
Let $a$ be the statement "A is knight" and $b$ be the statement "B is knight". Then, based on what they said, we have either both knights, a knight and b knave, ... etc. $$abb'a+ab'b'a'+a'bba+a'b'ba'=0+0+0+0=0$$ There is no solution, as you claimed.