5x×5x+1=255^{x} \times 5^{x+1} = 255x×5x+1=25
5x×5x+1=525^{x} \times 5^{x+1} = 5^{2}5x×5x+1=52
5x+x+1=525^{x+x+1} = 5^{2}5x+x+1=52, equating powers,
2x+1=2 ⟹ 2x=12x + 1 = 2 \implies 2x = 12x+1=2⟹2x=1
∴x= 12\therefore x = \;\frac{1}{2}∴x=21