Velocity = distance / time

I need to build a program that uses the velocity formula in the next way:
1.- solve the formula in any of the three forms (v=d/t, d=v*t, t=d/v)
2.-the result gives the specifications to the character
3.- the character should run trought the 2d scenario for a distance, time and velocity obtained by the solved formula.

¿can anybody help me to do this, i am new in unreal engine?

The chosen formula depends on what are trying to achieve. So, what is it?