A and B cannot be in the same category, since -
- if A and B are both liars, then A's statement ('I and B are the same') is true. But A is a liar, so A will always speak falsehoods, and not true statements, thus A and B cannot be both liars.
- if A and B are both reliable, then B's statement ('From us, only one is reliable') is false. But B is reliable, therefore B cannot speak falsehoods, only truths, thus A and B cannot be both reliable.
That eliminates options a, c, d from your list, leaving option b.
If A is liar and B is reliable - then A's statement ('I and B are the same') is false, and B's statement ('From us, only one is reliable') is true. Since A can only speak lies and B can speak only truths, this is a valid situation.