...How can we get this?...
I have used a Sketchup to model my planes, but any CAD will work.
With a jet like plane, look straight down on the plane make a model the silhouette. You want the CG 25% to 30% of the area of silhouette. Measure the total area, take 25% of the area, this is your goal. Pick a point and measure the area in front of your point and compare it to the goal. Move your line accordingly until you get close. I pick a line nearest my goal, using 1/4 inch increments.
With a new design I always start at 25% for a stable flight. When I get the plane trimmed out I will move the CG aft to make the plane more responsive. The location of the CG is a personal choice. If you want stability, stay at 25%. If you want a bit more twists and flips, as I do, move the CG aft. I would not recommend going beyond 30%.