I am not sure how to ask questions to find differences between two matters or distinguish them from each other with many similarities that they have as much as many differences. For example:
I want to find how to recognize "X" of "Y".
These questions come in my mind:
How can you recognize/distinguish "X" of "Y"?
How can you recognize/distinguish "X" and "Y"?
How can you recognize/distinguish "X" from "Y"?
What differences/similarities "X" and "Y" have?
Which differences/similarities "X" and "Y" have?