MR-157. problem

Solve the following equation:

2x+1x-1+x-12x+1=5x2+4x-1·2x+1

2x+1x-1+x-12x+1=5x2+4x-1·2x+1
2x+1x-1+x-12x+1-5x2+4x-1·2x+1=0
2x+1·2x+1+x-1·x-1-5x2+4x-1·2x+1=0
2x+12·x-12-5x2+4x-1·2x+1=0
4x2+4x+1+x2-2x+1-5x2-4x-1·2x+1=0
2x-2x-1·2x+1=0
2x-2=0
2x=2
x=22

x=1