Kacey's mother told her to make her bed when she woke.
She made Kacey remake her bed the correct way.
Kacey was annoyed with her mother's demands, so her mother  did a poor job making Kacey's bed on purpose.
Kacey was annoyed with her mother's demands, so Kacey did a poor job making the bed on purpose.