.
140 + x = 3*(100-x)
140 + x = 300 - 3x
x + 3x = 300 - 140
4x = 160.
x = 40.
That's all.
-------------
I understand that you are "in hurry" having deadline tomorrow, but somewhen later look into the lesson
- Virtual exchange between two persons
in this site to get fun reading the solutions to similar problems.