1. To be sure, the number obtained by B is definitely not a prime number.
Even if A says so [I don't know which two numbers], B can't get any further information from it. So the reasoning behind it is a bit strange.