Answer:
Explanation:
Opposite magnetic poles tend to get closer. Hence, you may know how are the magnetic poles of the magnet B if you observe which poles try to get closer to the magnetic poles of the magnet A.
For example, if a pole of the magnet B is attracted by the south magnetic pole of the magnet A, that pole of the magnet B is a positive magnetic pole.
I hope this is useful for you
regards