It's complicated, both because the weight of your fuselage extension matters, and because moving the tail back will change the aerodynamics of the plane.
IF you're flying something like a Twister or a Banshee or other pre-1980 (or whenever it was) airplane that has a short-ish tail moment arm, then you'll improve the aerodynamics by moving the tail back. IF you have something that already flies like gangbusters, then unless you're really super-advanced, you can move the engine backward without changing the aerodynamics to any noticeable degree.
HOWEVER:
Just to figure out how much to move the tail back: Weigh the portion of the plane from the CG back, and find it's CG, independent of the rest of the plane. Then use that weight and CG as the weight and center line of your "engine" and apply the formula. Putting all the pieces back together is left as an exercise to the reader.
I'm an engineer, so I weigh each bit and make a spreadsheet of weights and moments around the CG, with careful accounting for the weight of the finish, etc., etc. I get this one right just about as often as if I'd just eyeballed things and guessed. So I generally plan on getting the CG of the second prototype about right -- the first one will have some brass or lead on it somewhere.