Orbital mechanics and me

I’ve always wanted to learn some physics, beyond the genetic stiff I’ve picked up over the years, so I figure my current KSP problems might be just the need.
Starting easy
d=rt
So the distance traveled I’d equal to the rate times time.  Super easy and provable.  Drive 60 miles at 60 miles an hour, get there in an hour.

Our rocket actually accelerates rather than being at a constant velocity, meaning
d=at^2

But rockets, well they go up.  Yup gets counter balanced by gravity pulling down.  So…
d=at^2-gt^2

And my rocket burns fuel, fuel had mass, acceleration, if I remember correctly is force times mass.  So our a is now force(mass0-flow*time)