(b)
The probability that only two tests are needed = (probability that the first tested machine is faulty) $\times$ (probability that the second tested machine is faulty given the first machine tested is faulty)$= \frac{2}{4} \times \frac{1}{3} = \frac{1}{6}$.