Learning How to Drive the Pacing and Trotting Horse