The front and rear legs of a horse help each other to run fast. They…