So, Mai, there are different ways of looking at this. Proportions are equal ratios.
The ages add up to 45.
5/45 = c/270
Cross multiplying...
45c = 1350
c = 30
The youngest will get $30.
Another way is to again use the age total of 45...
270/45 = 6
Each child will get $6 for each year he/she is old, so the youngest will get 5(6) = $30.