Answer:
there were 15 almonds in the snack pack.
Explanation:
Let's use variables to represent the unknown quantities. Let's call the number of almonds in the snack pack "a", and the number of cashews in the snack pack "c".
we can use the following equations to represent the problem:
c = 2a (the number of cashews is twice the number of almonds)
c - 10 = a + 5 (there are 5 more cashews than almonds after Sylvia eats 10 cashews)
Substituting the first equation into the second equation, we get:
2a - 10 = a + 5
Solving for "a", we get:
a = 15
So there were 15 almonds in the snack pack.