8x = 5(26-x)

Expand by the law of distributivity:

8x = 5(26-x)
8x = 5*26 - 5x
13x = 5*26
x=10