(i) Every place value is a multiple of 9 plus 1: 1000=999+1, 100=99+1 and 10=9+1. So
6385=6×999+3×99+8×9+(6+3+8+5)
The first three parts are multiples of 9. So 6385 leaves the same remainder on division by 9 as its digit sum, 6+3+8+5=22. Repeating, 2+2=4, so the remainder is 4.
4 devotees sit in the last row. (Check: 6385=9×709+4.)
(ii) A full row has 9 devotees, so 9−4=5 more devotees are needed to fill it.