Let the number of toffees with the first, second, and third boys be $B_1, B_2,$ and $B_3$ respectively.
From the problem statement, we have:
$B_2 = B_1 + 4$
$B_3 = B_2 + 4 = (B_1 + 4) + 4 = B_1 + 8$
The total number of toffees is $T = B_1 + B_2 + B_3 = B_1 + (B_1 + 4) + (B_1 + 8) = 3B_1 + 12$.
To find the total number of toffees, we need to find a unique value for $B_1$.
Statement I: The number of toffees with each of them is a multiple of 2.
This implies that $B_1$ must be an even number.
If $B_1 = 2$, then $B_2 = 6, B_3 = 10$. Total = 18.
If $B_1 = 4$, then $B_2 = 8, B_3 = 12$. Total = 24.
Since multiple possible values exist for $B_1$, we cannot determine the total number of toffees. Thus, Statement I alone is not sufficient.
Statement II: The first boy ate up four toffees from what he had and the second boy ate up six toffees from what had and the third boy gave them two toffees each from what he had and the number of toffees remaining with each of them formed a geometric progression.
Let's calculate the number of toffees remaining with each boy:
- Boy 1 (remaining): Started with $B_1$, ate 4, received 2. Remaining = $B_1 - 4 + 2 = B_1 - 2$. (This implies $B_1 \ge 4$).
- Boy 2 (remaining): Started with $B_2 = B_1 + 4$, ate 6, received 2. Remaining = $(B_1 + 4) - 6 + 2 = B_1$. (This implies $B_1 + 4 \ge 6 \implies B_1 \ge 2$).
- Boy 3 (remaining): Started with $B_3 = B_1 + 8$, gave away 2 to boy 1 and 2 to boy 2. Remaining = $(B_1 + 8) - 2 - 2 = B_1 + 4$. (This implies $B_1 + 8 \ge 4 \implies B_1 \ge -4$).
The remaining number of toffees with the boys are $(B_1 - 2), B_1, (B_1 + 4)$.
These numbers form a geometric progression (GP). For three terms $a, b, c$ to be in GP, the condition $b^2 = ac$ must hold.
Therefore, $(B_1)^2 = (B_1 - 2)(B_1 + 4)$.
$B_1^2 = B_1^2 + 4B_1 - 2B_1 - 8$
$B_1^2 = B_1^2 + 2B_1 - 8$
$0 = 2B_1 - 8$
$2B_1 = 8$
$B_1 = 4$
This value satisfies the condition $B_1 \ge 4$.
Since we have found a unique value for $B_1$, we can find the total number of toffees:
$T = 3B_1 + 12 = 3(4) + 12 = 12 + 12 = 24$.
Thus, Statement II alone is sufficient to answer the question.