Help me in solving STRMCQ2 problem

My issue

didn’t understood the question!

Learning course: Strings using C++
Problem Link: CodeChef: Practical coding for everyone

The question states that . U have to match string X and Y .
So the necessary conditions to match them are:-
For all i, either X[i] == Y[i], or at least one of X[i] and Y[i] should be ‘?’.