Which of the following formulas is an acceptable method to calculate the vertical shift of the vessel's center of gravity?