The opportunity cost in Mexico of producing 40 tractor is 120,000 barrels of crude oil.
The opportunity cost refers to the alternative that has to be given up in order to enjoy another option. In the table given in this question, the opportunity cost of Mexico producing 40 tractors is the 120,000 barrel of crude oil, which it has to forego.