Answer:
a) Figure attached
b)

Explanation:
For this case we can find first the probability of being dfective on the shipment like this:

Since he select 10000 and 1000 of theme were defective.
Now we know that the inspector select 2 switches at random so then we can create the possible outcomes.
Part a
The tree diagram is on the figure attached, the sample space on this case is:
![S=[DN , DD, NN, ND]](https://img.qammunity.org/2021/formulas/mathematics/high-school/n6qwcc3hznl16rfrld72mrt8vsw949uwap.png)
D = represent a defective switch
N= represent a non defective swicth
Part b
For this case we want the probability that both switches would be defective and on this case we can do this:

Assuming independent between the events.