We need to find the probability that the target is hit, meaning at least one of A or B hits it.
P(A hits)=51
P(B hits)=32
Instead of calculating each case separately (only A hits, only B hits, both hit), we use a faster approach:
P(at least one hits)=1−P(nobody hits)
P(A misses)=1−51=54
P(B misses)=1−32=31
Since A and B shoot independently, we can multiply their miss probabilities to get the probability that both miss:
P(both miss)=54×31=154
Using the complement:
P(target is hit)=1−154=1515−4=1511