For this case, the first thing we must do is define variables.
We have then:
x: amount of money for charity 1.
y: amount of money for charity 2.
We now write the system of equations that models the problem:

We solve the system.
Using substitution we have:

Clearing x:

Then, the value of the second charity is:
Answer:
charity 1 = $ 83500
charity 2 = 65500 $