How to make a character move direction by an exact distance?

I haven’t started I tried a couple thing but got nowhere with it. So back to step one really.