in order to figure this out, you need to find out the financial expectation.
based on the scenario we know that
The probability of losing is : 0.2
The probability of winning is : 0.8
So the cost of financial expectation is 0.2 x $ 1,100,000 = $ 220,000
$220,000 < $ 350,000
So it's better for the company to go to the Court
hope this helps