I'm mainly focused on Computer Science, but I am trying to create one simulation where I need to resolve collisions between points with mass and absolute velocities.

Imagine having:

$point = <v_x, v_y, m>$ \
 $v_x$ is **velocity in x axis**,\
 $v_y$ **velocity in y axis**\
 $m$ is **mass**


we have two points that we know, that they are colliding with each other. 

How can we measure the velocities of particles after collision?

I have almost no background in physics but I'm highly interested to learn something so please, I would also love to have some materials from whose I could deduct formula.