Answer:
96 is the total number of sweets they shared
Explanation:
Let x be the number.
As per the statement:
Frank, Mary and Seth share some sweets in the ratio 4:5:7.
then;
Frank has sweets = 4x
Mary has sweets = 5x
Seth has sweets = 7x
It is also given that:
Seth has 18 more sweets than Frank.
⇒

Subtract 4x from both sides we have;

Divide both sides by 3 we have;
x = 6
Total number of sweets = 4x+5x+7x = 16x = 16(6) = 96
Therefore, 96 is the total number of sweets they shared