try again ...
Maybe I am writing the equation wrong, but this is how it should go.
X times 2 plus 4
multiply that by X
divide that by 2X
substract X from the answer found above
multiply that by 5
should get 10
dividing by 2x is included in the brackets. Maybe thats why you are confused.