Explanation to Lina’s work in case you need it:
Since you have a ratio, you can form the equation 5x+3x+4x=96, x being a variable that represents the base part for the ratio.
Simplified, the equation looks like this:
12x=96
x=8
Now, all you have to do is multiply this number by the parts of the ratio corresponding to each person.
Rob has 40, Sam 24, and Tom 32.