Give the structures of A and B

Give the structures of A and B.