2. $[a]$ represents the greatest integer not exceeding $a$, $\{a\}$ represents the fractional part of $a$, for example:
$$
[2.25]=2, \quad\{2.25\}=0.25, \quad[4]=4, \quad\{4\}=0
$$

Then the sum of all $x$ that satisfy $x+2[x]+4\{x\}=10$ is $\qquad$
$6$