miley scrubbed the stain on the floor and she got dirt on the floor
miley got dirt on the floor so she decided to scrub it off
to scrub the stain is to remove the dirt
miley used a new cloth in order not to get dirt on the floor