| Outcome | Red | Blue |
|---|---|---|
| Passed inspection | 120 | 80 |
| Failed inspection | 30 | x |
A factory records the numbers of red and blue widgets that either passed or failed a quality inspection, as shown in the table above.
If one of the failed widgets is selected at random, the probability that the widget is blue is 52. What is the value of x?