The definition I have of a Galilean transformation is one that preserves intervals of time and the distance between simultaneous events.
But now I can consider a transformation that takes $(t,\mathbf{x})$ to $(t,\mathbf{x}+\mathbf{v}t^2)$, which certainly preserves times, and also preserves the relative distance between simulatenous events, as the $\mathbf{v}t^2$ cancels out in the subtraction.
I am certain that this is wrong, so is there another constraint on what a Galilean transformation should be (say, an affine transformation)? And if there is such a constraint, why should it exist? I've seen some places simply define Galilean transformations as compositions of bossts, translations, and rotations, but to me that seems a little less motivated.
It's my first time learning these concepts, so I'm a little confused by what the actual first principles are - the "axioms" that I should take for granted.