First, determine the approach angle using atan2.
dx = 500 - 0;
dy = 250 - 0;
angle = atan2(dy, dx)
Using the angle, you can decompose the speed into your x and y components.
xVelocity = velocity * cos(angle);
yVelocity = velocity * sin(angle);
xVelocity, 0,8944, yVelocity, 0,472, . ( 0,666 0,333 , 0,745.)