Question 808202
Earn in 3 months:  363*3 rs
Spend in 4 months: 363*3 rs
Earn in 4 months:  363*4 rs
SAVE in 4 months:  363*4-363*3 rs


The amount the man saves in 12 years is 3(363*4-363*3)*12 because 12 months per year and given years to save was 12 years.  


Simplify amount saved expression:
{{{3*12*363*(4-1) = 3*12*363*3=3*3*4*3*363}}} rs.
{{{3*3*3*3*4*121}}}
{{{3*3*3*3*4*11*11}}} rs.  Call this saved quantity, V.


Distrubution among the sons:
Let z = how much eldest son gets.
middle son gets {{{(1/2)z}}}.
"third son" gets {{{(1/3)z}}}.


The quantity, V must be {{{z+z/2+z/3}}}.
{{{z+z/2+z/3=V}}}
{{{z(1+1/2+1/3)=V}}}
{{{z(6+3+2)/6=V}}}
{{{z(11/6)=V}}}
{{{z=V(6/11)}}}
{{{z=(3*3*3*3*4*11*11)(6/11)}}}
{{{z=6*3*3*3*3*4*11)}}}
{{{z=21384}}} rs.  And you can find the amounts to the two other sons.