For this case, the first thing we must do is define variables.
We have then:
x: governor of a state gains
y: governor of b state earnings
We now write the system of equations that models the problem.
We have then:

Solving the system of equations we have:

Then, for x:
Answer: governor of a state earns $ 170395
governor of b state earns $ 115770