I'm stuck on my homework, and my parents don't know how to do expanded algorithm

just google expanded algorithm and you'll get many explanations. Better than you can find here.

Sheesh - how can people bother to get online for help and never consider google?