Explanation:
Let's represent the number of sweets that Nick, Sarah, and Gavyn share as 2x, x, and x, respectively, since the ratio is 2:1:1.
According to the given information, Nick gets 32 sweets, which is equal to 2x. We can set up an equation to find the value of x:
2x = 32
Dividing both sides of the equation by 2:
x = 32 / 2
x = 16
Now that we know the value of x, we can find the number of sweets altogether by summing up the amounts for Nick, Sarah, and Gavyn:
2x + x + x = 2(16) + 16 + 16 = 32 + 16 + 16 = 64 + 16 = 80
Therefore, there are 80 sweets altogether.