Task: clean carpet
Assumptions:
Clean carpet with a vacuum cleaner.
Steps:
Clean the room.
Use a nozzle attachment to clean hard to reach areas.
Vacuum the entire space from front to back.
Repeat the procedure from left to right motion.