ok i think i figured it out, and it was way simpler than i was thinking it was going to be.
bg.speed = distance(player.x, player.y, viewportLeft(0), player.y)
thus, the further the player is from the left hand side of the screen, the faster the bullet speed
duh