Object Y is attracted to object B. If object B is known to be positively, what can we say about object A

No idea. All we know Y and B.

Assuming you meant A, then clearly it is negatively.