Here's how you can recreate it, since it isn't done yet:
// Syntax: motion_add(direction,speed)
// Adds a set motion to the current motion
// Calculate where the object would travel at the different speeds
// Add up the two coordinates
// Set the new speed to the distance to the new coordinates
// Find out what direction the new coordinates are from our position
I believe that should work.