How would be the investment calculated when a person invests Rs X for a year but withdraws X/2 after eight months, would it be calculated by using X for the 8 months & using profit of 8 months plus the initial investment divided by 2?