Let us take $w$ as the extra weight on the right side of the balance and $t$ kg is weighed.
Given that $10$ kg of the rice is weighed which means that $w+t=10.....(1)$
$t=w+8.....(2)$
Now solve $(1)$ and $(2)$ and find $t$ and $w$, then you will get your answer.