Answer
$3000$ dollars at $8\%$, $7000$ dollars at $10\%$.
Work Step by Step
Step 1. Assume the amount for the $8\%$ account is $x$ dollars; then we have $10000-x$ for the $10\%$ account.
Step 2. The sum of the interests is given by $0.08x+0.1(10000-x)=940$, which leads to $0.02x=60$ or $x=3000$
Step 3. Thus the amount for the $8\%$ account is $3000$ dollars and for the $10\%$ account is $7000$ dollars.