This question is what we refer to in engineering as “ill defined”. The reason is that you don’t list the ballistic coefficient of the bullet. Since this bullet must be traveling very fast, greater than say 800 ft/sec according to Romit Salecha work. That means in the initial parts of the flight, air drag is going to be a much bigger component in this problem than gravity in slowing the bullet down. Back in the ‘70’s I had a keen interest in exterior ballistics. I had made a computer program based upon Hatcher’s notebook and use to plot my own bullet trajectories/velocities/drops. Without knowing the ballistic coefficient it would be impossible to give you a reasonable answer. If you want to know the answer in a vacuum. Romit has already done that.
Have a good day