From the given data, there are 18 pieces of clothing that is blue and there are 14 pair of pants. Also, there are 10 blue pants. All in all there are 26 items. To solve for the probability required above,
P(Aor B) = (18/26) + (14/26) - (10/26)
= 22/26 or 11/13