pls help me on this word proplem?

Equation: 300+35x=1700; where x represents the amount of teams participating in the tournament
Answer: 40 teams competed in the lacrosse tournament
How to solve-
300+35x=1700
300-300+35x=1700-300
35x=1400
35/35x=1400/35
x=40