Explanation:
Let the earning of governor of state B be x then
we have,
Earning of A = 54900 + x
Earning of B = x
according to question,
Earning of A + Earning of B = 310850
54900 + x + x = 310850
2x = 255950
x = 127975
earning of A = 182875$
earning of B = 127975$