*** Correction of some typos for HallsofIvy:
"I don't see how you got this. I would presume that after you had
v40−v+4040=31 you added
v+4040 to both sides then combine fractions on the right:
v40=v+4040+31
but the right side is then
3(v+40)120+3(v+40)v+40=3(v+40)120+v+40
so you have two errors- first, the fraction is added, not subtracted so you have "+v", not "-v". Second you have somehow dropped the denominator
on the right. Now, do you see why I wanted you to show how you attempted to solve the equation?
I would, instead, starting from
v40−v+4040=31, multiply on both sides by v+ 40 to get
v40(v+40)−40=3v+40. Then multiply on both sides by v to get
40(v+40)−40v=3v(v+40). If you don't like fractions, multiply both sides by 3: 120(v + 40) - 120v= v(v + 40). That will give a quadratic equation, but not the one you have."
***
- - - - - - -- - - -- - - - - - -- - - -
For instance, you were mixing x and v variables a couple of times accidentally, and you were missing
a couple of closing parentheses.