How to change a vector based on a direction vector?

I want to take the shootpos vector and make it further away based on the aimvector. So I get a position that is away from the player in the direction he is pointing his gun. Is there a way to do this?