(1)第一行填13,18.第二行填28,38;
(2)第n个图形中,正方形的个数为5n+3,周长为10n+8;
(3)当n=2009时,周长=10×2009+8=20098.
故答案为:13,18,28,38;5n+3,10n+8.