If this is a logic problem
and we know that we are given all info necessary to solve the problem, then your analysis is correct.
If it is more like a role-play question then there may be other interpretations and things to consider (for example, how do they position words in the phrases, do words have multiple meanings, can more samples of their language be obtained, etc.)
