5x8=(5x2)+(5x_)=40

not sure what the _ means, nor the 5x8

Do you mean

5x^8 = 5x^2 + 5x + 40 ?

I hope not, since that's very hard to solve.