Input the two points to define the translation, then point in the point you want to transform and it will transform the point according to the two previous points
I did all the coding for this (which isn't much)