PLZ HELP ME!!! 30 POINTS AND BRAINLIEST!!!!

A caterpillar tries to climb straight up a wall two meters high, but for every 2 cm up it climbs, it slides down 1 cm. Eventually, it reaches the top. When it reaches the top, it does not pull itself over so it will slide down 1 cm.

What is the total distance traveled? (Remember, he traveled in an up-and-down motion.)