What you would do first is add 6 on both sides of the equal sign. After doing this your equation should look like 50=5x. Then you would take 5x and divide it into 40 and it's self. You would then get, 10=x. That would be your answer.
Hope this helps! (: