The two sides are congruent (because of the straight line through the side)
set them equal to one another
5x + 10 = 40
Isolate the x, do the opposite of PEMDAS
5x + 10 = 40
subtract 10 from both sides
5x + 10 (-10) = 40 (-10)
5x = 30
divide 5 from both sides
5x/5 = 30/5
x = 30/5
x = 6
6 is your answer for x
hope this helps