Each grandchild receives x.
Each child receives 2 times as much as a grandchild, so each child receives 2x.
The wife receives 5 times as much as a child, so the wife receives 5 * 2x = 10x.
There is 1 wife: 10x
There are 2 children: 2 * 2x = 4x
There are 3 grandchildren: 3x
Total: 10x + 4x + 3x = 17x
17x = 510,000
x = 30,000
Answer:
Each grandchild gets $30,000.
Each child gets 2 * $30,000 = $60,000.
The wife gets 10 * $30,000 = $300,000.