I would like to get some direction to the following question. I am having trouble translating this into a working logical expression.
A very special island is inhabited only by knights and knaves. Knights always tell the truth, and knaves always lie. You meet three inhabitants: Alice, Rex and Bob, where
Alice tells you that "Rex is a knave". Rex tells you that "it's false that Bob is a knave". Bob claims, "I am a knight or Alice is a knight." So who is a knight and who is a knave?
Let $a, r, b$ represent the statements Alice is a knight, Rex is a knight, Bob is a knight respectively. The first statement you gave can be written as:
$$(a\rightarrow(\neg r))\wedge((\neg a)\rightarrow r)$$
Can you find similar expressions for the other statements?