lets label them first,
bn= end of year balance
bn−1= start of year balance
then, bn=1.05bn−1−10 is correct formula to use.
Note that the initial deposit amount is b0=1000
using your formula, after 1 year, the balance would be,
b1=1.05b1−1−10
b1=1.05b0−10
b1=1.05×1000−10
b1=1040