Three children inherited a total of X dollars. If the oldest child inherited $7,000 more than the youngest child, and the youngest child inherited $9,000 less than the middle child, what is the value of X ?
1.The middle child inherited $27,000.
2.The youngest child and the middle child together inherited a total of $45,000.