for masses A & B to accelerate ...

using these two inequalities, you should be able reach the first conclusion in the problem statement.

for the second conclusion, start with net force equations for each mass ...

---------------------------- combine ...

solve for acceleration ...

... remember that this acceleration is only applicable for a displacement of magnitude x for both masses.

now, you finish it.