Thanks! I used a variable to make it easier on the eyes, but you could include this formula to make one long expression if you didn't want to use the variable.
Another thing - I had to refer to the bullet speed directly (the 400 in the expression) as it won't work if there are no bullet instances in the layout.