You question is a little unclear but I'm going to assume you meant how much the guinea pig walked.
The hamster walked 20 feet, and the guinea pig walked 1/4 less. So you find 1/4 of 20, which is 5. Then, you subtract 20 and 5: 20-5 = 15. So the guinea pig walked 15 feet.