Moving a cube going forwar to reach another cube position

I have this code:
and the full code is here:

I am having so much trouble, getting the cube (Willy) going and passing through the Galaxy
as you see in the web-page, there is a galaxy full of little cubes (Willies)
the main willy is “flying” or moving at certain speed

   let speed = 0.32;

I notice, that it has to do with the speed, and the .position.x and .position.y
I have tried many numbers, and kind of get it.

I’m sure there is a way to say something like this,

willy.position.x += willyCreatures.position.x:

Like “From where you are, traveled in the direction where is the center of the galaxy”
"so you can pass right in the middle of the galaxy.

and if it’s not too much to ask, say something like this:

if willy.position.x == willyCreatures.position.x;
willy.speed == slowDown;
willy.stayThereFor = 0.8: //seconds
willy.speed += 0.4;

If I can get thoe to get Willy to the center of the galaxy will be great
to make him stay there using time counter, and then keep going is extra.

I appreciate all the help you can give me
it feels great to learn more everytime.

Sounds too magical for a rendering library.
For such things, like “go from here to there with different velocity, wait, then go to another place”, better to add the using of Tween.js or GSAP libraries.

Hello prisioner849…
Thank you for your recommendations, I visit those web-pages and is something I have never seen before… I will look into that to see what can I learn.
My brother is a programmer for engineers, and architects,
I told him what I wanted to do, and with a few lines of “pure” code

dxU = dx/dd / 266.0;
dd = Math.sqrt(dx * dx + dy * dy + dz * dz);

something like that, and done! works like magic!
it’s incredible what programming can do.
In fact, I’m planning to write a book to share with everyone how to do things…

here is the final result:

the cube goes direct to the center of the galaxy!!!