Joy decided to ride her bike from her home to visit her friend Gabe. Two miles away from home, her bike got a flat tire and she had to walk the remaining four miles to Gabe's home. She could not repair the tire and had to walk all the way back home. How many more miles did Joy walk than she rode?