My step daughter presented me with this problem. I am usually pretty good at math but this one had me stumped. I couldn't understand how they got from the first step to the second. From the second step I could easily solve it. Please explain how they got to this so I can explain it to her. Thanks a ton in advance.

Original Problem:

Step 2: