In order to be able to write a number in expanded form, you must first understand how to find the value of a number.
Value represents the worth of a number based on the place that it is in.
7 → 7,000,000
5 → 500,000
1 → 10,000
9 → 9,000
4 → 400
5 → 50
6 → 6