Tim received the maximum $x donation from 500 people, which means he received a total of 500 * x dollars from these donors.
He also received three times as many people who donated half this sum of money, which means he received 3 * 500 * (x/2) = 750x dollars from these donors.
The total amount of money raised from these donations is 500 * x + 750x = 1250x dollars.
We are given that these donations accounted for 40% of the total money raised, so we can write: 0.4 * total money raised = 1250x.
Dividing both sides by 0.4, we get: total money raised = (1250x) / 0.4.
We are given that the total money raised is 3750000, so we can write: (1250x) / 0.4 = 3750000.
Multiplying both sides by 0.4, we get: 1250x = 1500000.
Dividing both sides by 1250, we get: x = 1200.
The value of x is 1200.
#### 1200
The answer is: 1200
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Tim decides to run a campaign for governor.  He gets the maximum $x donation from 500 people, and three times as many people donated half this sum of money to his campaign.  These donations together accounted for 40% of the total money that Tim raised.  How much total money did he raise?
If we know the answer to the above question is 3750000, what is the value of unknown variable x?

### Answer:
