Doubt from sequence and series

here i did this 888..2014 times = 8\over9 [10^{2014}-1] and similarly another but i m not getting it . Anyone

Instead of 10 make a polynomial in x which on putting 10 give the number now put x=1

Bro how to make that polynomial ?