Let the salary be S. Andrew saved a fraction of S and gave another fraction of the remainder to his wife and parents in the ratio 3 : 7.

The wife received 3 units and the parents received 7 units of the amount given.
He spent the remaining $1400.

Working backwards with the given answer S = $5600:
• Spent = $1400
• Wife : Parents = 3 : 7 → wife gets 3 parts, parents get 7 parts of the given amount.
• Total given = 10 parts; spent = remainder after giving.

Final Answer: $5600