Correct option is B
Let us assume that investment period of Gaurav and Santosh is in the ratio of x:y.
As we know profit is distributed in ratio of product of investment and respective time periods.
ATQ, (7×x)/(9×y) =9/7
x : y = 81:49