In the TV series The Expanse, a sci-fi space-engine called the "Epstein Fusion Drive" is a thruster capable of performing constant acceleration (up to and beyond "20g" (about $200 ms^{2}$$200 m/s^{2}$)) at a low fuel cost ("fusion particles"), in the scenes on-board in-flight ships, the characters seem to be in constant $1g$ (or similar), most likely from the constant thrust of their ships.
Given a distance of $x$ (in $km$), a mass of $m$ (in $kg$), and a max or "set" acceleration scalar of $a$ (in $m/s^2$, which is used during the acceleration and deceleration part of the flight, which for all intents and purposes of this question would be $g = 9.80665$), what would be a quick-n-dirty formula to calculate the time ($t$) taken from point a to b with a distance of $x$, ignoring all other possible forces and specificities, only this force that constantly accelerates, starting from a complete stop, and ending in a complete stop.
Additional notes: this question does not seem to answer this for me (and I don't think this question is a duplicate of it), as I cannot seem to make out this specific equation from its answer, my apologies if one of the answers has this exact answer, I'd probably then dont comprehend it good enough to understand it, and how it answers my question.